A way to merge with upstream latest Github forked project

Environment: Mac 10.12, Github, SSH, keys, id_rsa.pub

First, make sure you added ur current Mbpr id keys to Github (https://github.com/settings/keys)

Next,

cd Desktop/git
git clone [email protected]:ookangzheng/The-Nature-of-Code-Examples-p5.js.git (A project you wanna fork to local)

## Add upstream (#git remote xxx)
git remote add upstream [email protected]:shiffman/The-Nature-of-Code-Examples-p5.js.git
  ## Delete upstream
  git remote delete upstream
## git remote -v  (print out origin and upstream, double check again)

## Fetch upstream source 
git fetch upstream
## Merge 
git merge upstream/master
## Push merged version to your github project (default master)
git push origin master