git clone -b 分支名称 分支远程地址 例:git clone -b my_branch https://www.sdfsldjfls
git clone 指定分支的代码
原文:https://www.cnblogs.com/dreamstartplace/p/14953616.html