it was driving me mad too. you can disable github.com opening in the github app: app-info/set-as-default/open-supported-links