(1)新建分支:git branch 分支名称。
(2)显示全部分支:git branch
(3)切换分支:git checkout 分支名称。
(4)分支全并:
(a)切到主分支。
(b)git merge 需要合并的分支。
(5)删除分支:git branch -d 分支名称。