Git command Branch operation Background: We often want the copy the master branch(or other branch) to develop a new function. $git checkout master //Change to the master branch or which branch you want to copy
$git pull //从远端拉取最新版本
$git checkout -b NewBranch //Switched to a new branch 'NewBranch'
$git push origin NewBranch //新建分支NewBranch到远端