To synchronize your fork changes with the original repository, you must configure a remote one that points to the reverse repository in Git.
Specify a new remote reverse repository to be synchronized with the fork.
git remote add upstream https:
You can check if this was successful with:
git remote -v
Then download it to update your project:
git fetch upstream
Combine the changes from upstream / master into your local master branch.
git merge upstream/master
Finally, you can commit the new update from the source repository to your fork repository.
This information can also be found on GitHub here and here .
source
share