git clone master分支
git branch -a 查看所有分支
git checkout -b ‘本地分支名’ ‘远程分支名' (远程分支不带引号:remotes/origin/police-sdjcw)
git branch --set-upstream-to=origin/远程分支名 本地分支名 (远程分支和本地分支关联)
git clone master分支
git branch -a 查看所有分支
git checkout -b ‘本地分支名’ ‘远程分支名' (远程分支不带引号:remotes/origin/police-sdjcw)
git branch --set-upstream-to=origin/远程分支名 本地分支名 (远程分支和本地分支关联)