git fetch from forked repo 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 checkout master
> Switched to branch 'master'