Oh I, oh I, oh She's as sweet as sugar candy, oh, We're going to be wed in a week or so Galloping Randy Randy oh.
If, as Hugill says, galloping was a camouflaged word in the printed choruses (of the shanty), it seems at least possible that it came from galloping in the first place!