View branch
Check local branch
git branch
View remote branch
git branch -r
View all branches
git branch -a
Creating a branch
Create a local branch
git branch branch-name
Switch to the new branch
git chenckout branch name
Branch push to a remote repository
This operation will correspond to the new warehouse in a remote branch
git push origin branch name
Deleted branches
Delete the local branch
git branch -D branch name