create new branch using git command line code example Example: create a branch command $ git branch -a