1. 创建分支 查看所有分支:git branck -a 查看本地分支:git branch 创建分支t:git branch t 2. 切换分支 git checkout 3. 删除分支 git branch -d