I never understood the appeal of !bang - browsers have had that built-in for a long time. You just right click on the Github search field, choose "Add a Keyword for this Search" and then type some keyword like "gh".
Then just type "gh <query>" on your location bar and it'll search directly in that site.
Bangs can be used anywhere in the string. I use them at the end so if I want to try another source I can just update "searchingthis !mq" with "searchingthis !gm". No need to go to the front of the query and update the keyword there.
Also, you don't have to configure anything. DDG bangs are intuitive. I find myself searching sites I wouldn't have otherwise.
I often bang to google for longer queries or almost anything that's local to Germany.