Appearance
TIP
本文以 master -> main 举例
$ git branch -m master main
$ git push -u origin main
到 GitHub 的仓库设置中选择 main 为默认分支
GitHub
main
git push origin --delete master