name of the main branch in gi t code example Example: git branch command git branch <branchname> (or) git checkout -b <branchname>