From German gottverdammt (“goddamn”), from English goddamn, and from fo (“for, to”), from English for.
gótefodamn