**查看分支**
```
git branch [-r|-a]
```
- -r 远程
- -a 所有
**创建分支**
```
git branch <branch_name>
```
**切换分支**
```
git checkout [-b] <branch_name>
```
- -b 创建+切换
**推送分支**
```
git push origin <branch_name>
```
**删除本地分支**
```
git branch -d <branch_name>
```
**删除远程分支**
```
git push origin :<branch_name>
```