Git checkout 指定分支

直接 clone 时就 clone 指定分支而不是默认的 master

1
git clone -b branch_name repo

先 clone 下来,再 checkout 到指定分支

1
git co -b branch_name origin/branch_name