git branchList local branches
git branch -aList all branches (incl. remote)
git branch <name>Create new branch
git checkout <branch>Switch to branch
git checkout -b <name>Create & switch to branch
git switch <branch>Switch branch (modern)
git switch -c <name>Create & switch (modern)
git merge <branch>Merge branch into current
git merge --no-ff <branch>Merge with merge commit
git rebase <branch>Rebase current onto branch
git branch -d <name>Delete merged branch
git branch -D <name>Force delete branch
git branch -m <old> <new>Rename branch