Syncing a GitHub fork
https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
-
If you haven’t configured an upstream remote, do this:
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git -
Fetch branches and commits from upstream repo:
git fetch upstream -
Checkout local branch to update
-
Merge upstream into current local branch
git merge upstream/BRANCHNAME