Why does "I go" also mean damn it? (我去) According to MDBG, 我去 is slang, meaning "shoot" or "dang." But obviously, it also means "I go."

Does anyone know the etymology of this? Did it arise from people angrily saying that they're so upset that they're leaving?
我去：When used to express strong emotions, it can be to yourself or others. 
For example: annoyance, anger, loss, surprise, envy, etc., which is close to the meaning of "我靠".