The word "ditto" originated from the Italian word "detto," which means "said" or "stated." The term gained prominence in English in the 20th century, especially in the United States, where it became a common way to agree with someone or to convey that one shares the same sentiments without repeating the same words.