1、查看本地分支 git branch 2、在本地仓库创建分支 git branch + 分支名 3、查看全部分支 git branch -a 4、在远程仓库上生成分支 git push origin + 刚刚创建的分支名