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