git clone resource.git
git branch -a
list all the local and remote branches
git checkout [remote branch]
git clone resource.git
git branch -a
list all the local and remote branches
git checkout [remote branch]
转载于:https://www.cnblogs.com/LiuXianBlog/p/3606969.html