首先: git branch -a 查看所有的分支(本地+远程) 其次: git checkout -b wuhan_shared origin/wuhan_shared 本地创建并切换,为创建的分支, 本地分支名要与远程分支名 匹配。