-
Check what is your remote repository
git remote -v -
Connect your local repo with original repo
git remote add upstream url_from_original_repo -
To verify the new upstream repository you've specified for your fork, type
git remote -vagain. You should see the URL for your fork as origin, and the URL for the original repository as upstream. -
Pull changes for original repo:
git pull upstream master