"The phrase having the basic form get [the hell] out of Dodge is a reference to Dodge City, Kansas.
Dodge City was the setting of innumerable Wild-West movies and books and, most prominently, the CBS-TV series Gunsmoke, which ran from 1955 to 1975. After being defeated by the good guys, badmen...