默认提交是提交到master的

查看当前项目有哪些分支:git branch -r

git bash运行命令:git status

创建并切换到新的分支:
git checkout -b XXX
切换到新的分支:
git checkout XXX

提交后,在这查看

拉某个分支代码 :git clone -b <branch> <remote_repo>