how to set remote url of fork in git code example Example: git setup upstream $ git push -u <remote> <branch>