checkout remote branch to local
git checkout -b v2.2.0 origin/V2.2.0
删除远程分支
git push origin :<branchName>
删除本地分支
git branch -D yourBranch
如何同步 Github fork 出来的分支
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git fetch upstream
git checkout master
git merge upstream/master