1620s, "in the month of the same name," Tuscan dialectal ditto "(in) the said (month or year)," literary Italian detto, past participle of dire "to say," from Latin dicere "speak, tell, say" (from PIE root *deik- "to show," also "pronounce solemnly").
Italian used the word to avoid repetition of month names in a series of dates, and in this sense it was picked up in English. Its generalized meaning of "the aforesaid, the same thing, same as above" is attested in English by 1670s. In early 19c. a suit of men's clothes of the same color and material through was ditto or dittoes (1755). Dittohead, self-description of followers of U.S. radio personality Rush Limbaugh, attested by 1995. dittoship is from 1869.
Proto-Indo-European root meaning "to show," also "pronounce solemnly," "also in derivatives referring to the directing of words or objects" [Watkins].
It forms all or part of: abdicate; abdication; addict; adjudge; apodictic; avenge; benediction; betoken; condition; contradict; contradiction; dedicate; deictic; deixis; dictate; diction; dictionary; dictum; digit; disk; ditto; ditty; edict; Eurydice; index; indicate; indication; indict; indiction; indictive; indite; interdict; judge; judicial; juridical; jurisdiction; malediction; malison; paradigm; policy (n.2) "written insurance agreement;" preach; predicament; predicate; predict; prejudice; revenge; soi-disant; syndic; teach; tetchy; theodicy; toe; token; valediction; vendetta; verdict; veridical; vindicate; vindication; voir dire.
It is the hypothetical source of/evidence for its existence is provided by: Sanskrit dic- "point out, show;" Greek deiknynai "to show, to prove," dike "custom, usage;" Latin dicere "speak, tell, say," digitus "finger," Old High German zeigon, German zeigen "to show," Old English teon "to accuse," tæcan "to teach."