GitHub has now introduced a feature to sync a fork with the click of a button.
Go to your fork, click on Fetch upstream
, and then click on Fetch and merge
to directly sync your fork with its parent repo.
You may also click on the Compare
button to compare the changes before merging.
Reference: GitHub's documentation