git查看分支:
git branch -l :查看本地分支
git branch -r :查看远程分支
git branch -a :查看全部分支(远程的和本地的)
git签出指定分支的指定文件或文件夹替换当前分支对应的文件或文件夹:
git checkout 分支名 要替换的文件或文件