google
ref
early 20th century: abbreviation of legitimate.
wiktionary
ref
Clipping of legitimate.
etymonline
ref
legit (adj.)
colloquial shortening of legitimate (adj.), 1897, originally in theater, in reference to legitimate drama, that which has literary merit (Shakespeare, etc., etc.).