will fork update as main update code example
Example 1: update fork
git fetch upstream
git checkout master
git merge upstream/master
git push origin
Example 2: steps to sync branch to fork master?
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git