Euphemism for God, dating from the 18th century. Possibly a compaction of “God′s body”.
Improve your pronunciation
Practice speaking and memorizing "golly" and many other words and sentences in English.