git branch
查看分支
git checkout -b newbranch 切换并且新建分支
git checkout branch 切换分支
git push origin branch 把分支推送到远程。