Basic operations with branches
git branch
List all branches
git branch <branchname>
Creates a new branch with the specified name.
git checkout -b <branchname>
Create a new branch and switch to it
git checkout <branchname>
Switch to a different branch
git merge <branchname>
Merge the specified branch into the current branch, combining their histories.