git branch --all 查看所有分支(包括本地和远程)
git branch 查看本地分支
git checkout -b cate 创建本地分支
git add . 添加到暂存区
git commit -m "详情描述" 添加到暂存区
git push -u origin cate 将本地分支推送到远程
git checkout master 切换分支到master (git checkout 分支名)
git merge cate 将本地cate 分支合入master
git push 推送到master (远程更新)