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