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
masterback
git checkout -b master && git push origin -u master-
Go to Github UI repo under
Settings/Branchesand switch to the new default -
Delete the
mainbranch now
git branch -d main && git push -d origin main