An exclamation of surprise or dismay, literally "by God or by man".
Heard in Wexford
In useBegorrah man how did you get your self in that mess ya gobdaw?
Lawrence Muck's posh English
Hello, and please excuse the hounds.
Here it is in posh English.
Good heavens, old chap, however did you contrive to land yourself in such an appalling mess, you utter buffoon?