How to pull the changes from the main repository to the forked repository?
forked branch <- main branch
How to pull the changes from the main repository to the forked repository?
forked branch <- main branch
Add upstream Git repository
git remote add upstream <PARENT_REPOSITORY_URL>
Pull remote upstream branches
git fetch upstream
Checkout to the local branch to update
git checkout master
Merge the latest changes from the upstream Git repository
git merge upstream/master
Note: Replace master in step3 and step4 with the branch you want to update.