-
git remote -v
-
git remote add upstream https://github.com/xxx.git
-
git remote -v
-
git fetch upstream
-
git checkout master
-
git merge upstream/master
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork