origin, upstream

Origin, Upstream

Search for: Origin, Upstream

The repo on the server that you have cloned from is known on your local machine configuration as a remote that is named "origin"

A convention

The origin thus is a reference

An origin reference points to the URL of the server repo

An SOF topic on origin and upstream

An origin is yours
An origin is where you sync your work with a server
You and Origin - Happy pair

Upstream is where the origin itself is cloned from
You can see upstream as read only

You can always 
  fetch from up stream 
  work on it 
  push to origin


//from upstream
git fetch upstream

//for origin
git pull
git push

Here is GitHub help on Pull requests

Understand Github Flow