git 下载远端分支代码 git clone -b xxxx (远端分支的名字)URL 如果已经 clone 了,使用 git checkout 来切换分支。 git branch 查看当前分支 git branch -a 查看所有分支 git checkout 分支名 ----- 切换分支