how to create a new branch eith git code example Example 1: create a branch command $ git branch -a Example 2: create a branch command $ git fetch [name_of_your_remote]