Syncing a fork
##
git clone https://username@github.com/username/repository.git
(git remote add origin https://github.com/username/repository.git)
git remote add upstream https://github.com/original-repo/goes-here.git
git remote -v
git fetch upstream
Check out your fork’s local master branch.
$ git checkout master
> Switched to branch 'master'
Merge the changes from upstream/master into your local master branch. This brings your fork’s master branch into sync with the upstream repository, without losing your local changes.
git merge upstream/master