Contrary to some assumptions, "Galloping Gertie" is not a piano song. It is a ragtime composition for orchestra written in 1888 by Charles E. Pratt.
Pratt was a American composer and bandleader. "Galloping Gertie" (sometimes subtitled "A Racing Song") mimics the rhythmic drive of a galloping horse through orchestral percussion, brass, and strings. It predates the piano rag craze of the late 1890s (Scott Joplin's "Maple Leaf Rag" was 1899).
The catchy, syncopated melody feels pianistic, and later piano arrangements exist. But the original is orchestral—a snapshot of pre-jazz American popular music.