Green’s Dictionary of Slang

golly v.

[? Scot. golly, to shout hoarsely; ult. Scot. gollar, to utter loud but thick and scarcely articulate sounds, to shout]

(Aus.) to spit; thus golly-gum, chewing gum; golly-pot, a spittoon.

[Aus]Catholic Press (Sydney) 4 Dec. 46/2: Mr. Benson’s own method is to write the whole discourse, and then ‘golly’ it out with what emphasis and vehemence he can muster.
[Aus]Baker Popular Dict. Aus. Sl.
[Aus]D. Hutley Swan 48: He drew back from the nose and brought up from the chest and gollied out into the rain [GAW4].