Update forker repository Add the main repository git remote add upstream https://github.com/{repo-owner}/{repo-name}.git Fetch the main repository changes git fetch upstream Merge upstream git merge upstream/main Push the changes git push origin main