create new branch from terminal code example Example: command to create a new branch in git $ git checkout -b <branch-name>