Brand renamed from master to main
git branch -m master mainLet’s quickly check if this has worked as expected:
git statusMake sure your current local HEAD branch is still “main” when executing the following command:
git push -u origin mainWe now have a new branch on the remote named “main”. Let’s go on and remove the old “master” branch on the remote:
git push origin --delete master