google
ref
late 19th century: short for diggings, used in the same sense, probably referring to the land where a farmer digs, i.e. works and, by extension, lives.
wiktionary
ref
digs
Clipping of diggings.
etymonline
ref
digs (n.)
"lodgings," slang attested from 1893, from dig (n.).