I've just recently started working with git and github.
I forked a project, contributed to it and created a pull request. That pull request was merged.
In the mean time, the project I forked has had new changes pulled into it. Now I want to grab those changes so that my forked project is identical to the project head.
How do I do it? Following this link Syncing a fork Didn't work.
$ git fetch upstream
fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.