git create a local branch from remote code example Example: create local and remote branch git checkout -b yourBranchName git push -u origin yourBanchName