Rename your Master Branch

git
Copy this post
Terminalbash
git branch -m master main
git push -u origin main