git下载指定分支到本地

从网上查了很多方法有很多种,自我感觉下面这种更方便

git clone xxx.git --branch 分支名/dev/...

原文地址:https://www.cnblogs.com/gqx-html/p/11016582.html