Digital and digit are related by the Latin word digitus, which means “finger or toe (also with secondary meaning dealing in counting and numeral)". The numerical sense is because numerals under 10 were counted using fingers.
Digital is related to finger and numbers, because one primary way of counting was –and still is- by using our fingers. Is associated to the first computers, primarily used as calculators.
- Online Etymology Dictionary