A century ago it might have been considered blasphemy!

Which got me wondering about why some people say 'gosh' instead.
Sounds like someone went to use the phrase, thought again at the last word, then out came gosh.