git creating new branch and pushing via cmd code example Example: push a new branch git push -u origin <branch-name>