git remote update origin --prune git remote update origin -p
git branch -a
注:git branch 获取本地分支, -r 远程分支, -a 远程和本地分支
git checkout -b test origin/test
注: 此操作需要确保本地现工作分支与远端分支test,没有冲突