ref
1930s: alteration of God.
A minced oath or dialectal variant of God.
From Biblical Hebrew כֹּר (kōr)