git fetch origin branchname:branchname 可以把远程某各分支拉去到本地的branchname下,如果没有branchname,则会在本地新建branchname git checkout --track origin/remoteName -b localName 获取远程分支remoteName 到本地新分支localName,并跳到localName分支,这里加了--track,让创建的本地分支localName跟中远程的origin/remoteName…