ref
mid 19th century: representing a pronunciation.
Univerbation of got + you; also analyzable as got + -cha
gotcha
by 1913, colloquial pronunciation of "(I have) got you."