Once you've created your new repo you might be interested to bring master
branch back to be aligned with your other projects
Here'are the steps how to do it:
- Brings
master
back
git checkout -b master && git push origin -u master
-
Go to Github UI repo under
Settings/Branches
and switch to the new default -
Delete the
main
branch now
git branch -d main && git push -d origin main