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