Either from the Proto-West Germanic "burg", which means fortification/fortified town (maybe goes even back further to the Proto-Germanic "burgz")
or possibly the Ancient-Greek word "pýrgos", which was a tower fort
or maybe something else. Proto-Celtic or if we go way back: the Proto-Indo-European bʰergʰ- "to protect"
There’s a lot of speculation involved to where exactly the roots are, but in the end it all means a small castle or fortified town in which the "burger" lived.
i can make it to 'borg' until i have to think really hard and then google the answer. the rest is some sort of vowel diarrhea that defies any attempt to recall it correctly