create branch locally git code example Example: how to create a branch in git $ git branch [name of branch]