复制分支

git checkout -b dev

更新远程仓库

git push origin dev

切换分支

git checkout master

从远程拉代码

git init 

git clone 地址

从远程更新到本地

git pull origin dev

//遇到重复的bug    already exists in the index

git rm -r --cached 工程名