1、查看本地当前分支情况 git branch 2、查看远程分支情况 git branch -r 3、查看本地及远程分支情况 git branch -a 4、切换到my_branch分支 git checkout my_branch