This might have been posted elsewhere, but I seem to remember hearing on Radio 4 (so it must be true:-))it was first used by jobbing Jewish musicians as an abbreviation in diaries/calenders for God is Good..eg there'd be monet in the pot later.
I don't know how valid this is, but I like the story
Baz