5  FAQ

5.1 Why set an upstream branch for a local branch?

  • Can use short hand commands git push and git pull without specifying origin <branch>
  • Git can inform on uncyned commits which haven’t been pushed/pulled yet

Source: Tower - Set Upstream
Source: Stackoverflow - why use --set-upstream