how to add and set upstream in git code example Example: git setup upstream $ git push -u <remote> <branch>