git create new default branch code example
Example: git create new default branch
git branch -m master main # renames "master" to "main"
git push -u origin main # push new branch
git branch -m master main # renames "master" to "main"
git push -u origin main # push new branch