Troop
mid 16th century: from French troupe, back-formation from troupeau, diminutive of medieval Latin troppus ‘flock’, probably of Germanic origin.
wiktionary
Attested in English since 1545, from French troupe (back-formation of troupeau, diminutive of Medieval Latin troppus "flock") and Middle French trouppe (from Old French trope(“band, company, troop”)), both of Germanic origin from Frankish *thorp(“assembly, gathering”), from Proto-Germanic *þurpą(“village, land, estate”), from Proto-Indo-European *treb-(“dwelling, settlement”). Doublet of troupe, and possibly also of thorp and dorp. Cognate with German Dorf(“village”).
etymonline
troop (n.)
1540s, "body of soldiers," 1540s, from French troupe, from Old French trope "band of people, company, troop, crowd" (13c.), a word of uncertain origin, perhaps from Frankish *throp "assembly, gathering of people" or another Germanic source, perhaps related to Old English ðorp, Old Norse thorp "village" (see thorp). OED derives the French word from Latin troppus "flock," which is of unknown origin but also might be from the proposed Germanic source. Of groups of animals from 1580s. Specifically as "a subdivision of a cavalry force" from 1580s; of Boy Scouts from 1908. Troops "armed forces" is from 1590s.
troop (v.)
1560s, "to assemble," from troop (n.). Meaning "to march" is recorded from 1590s; that of "to go in great numbers, to flock" is from c. 1600. Related: Trooped; trooping.