In the lock settings on the options tap on the settings page (well, just click on the Settings tab on the repo page of your GitHub), you can change the default branch (you need to have a different default branch on GitHub a),

After you have done this, you can delete it:
$ git push bb :master
Wouter J Dec 26 2018-12-12T00: 00Z
source share