things you need:-
| take a look at this on how to setup a 'upstream' remote for the 'fork' |
then,

i used 'git pull' in the example above to update the local 'master' branch from the upstream repository.
you can also use 'git fetch upstream', 'git checkout <branch name>' and 'git merge upstream/<branch name>'