git branch test //创建分支
git checkout test //切换到test分支
git branch //显示分支
git branch -a //显示 所有分支
git push origin -u hotfix //把本地分支推送到服务器
//协同开发分支时 git pull origin 分支名 ,拉取远程分支,merge 后再提交。