$ git branch -a
$ git branch
$ git checkout master
git命令-切换分支
原文:https://www.cnblogs.com/zgaspnet/p/9081468.html