Open github:
remove branch protection if exists
switch default branch to another in
git checkout other_branch_name
git branch -d master
git push origin --delete master