Question: is oh my god capitalized?
Answer: The only rigid rule for capitalizing “God” in dialogue and thoughts is that you do so when using it as a pronoun: “Joe, God won't like that.” Beyond that, you can let your character decide. Some characters say “Oh my god!” as a generic expression with no thought to religion at all. For them, lowercase works.