1.将本地已有的代码项目关联至git
git clone https://github.com/CKTim/BlueTooth.git
(//https://github.com/CKTim/BlueTooth.git替换成你之前复制的地址)
2.新拉git(分支)代码到本地
git clone -b master(分支) http...(地址)
3.查看关联git地址
git remote -v
4.查看本地所有分支 / 查看远端所有分支
git branch / git branch -r
5.切换本地分支
git branch
6.基于当前分支(master)新建分支(new-master)
git checkout -b new-master master
7.