Its useful to sync a fork when contributing to open source project.
Here is some tips:
- make sure current folder is repo root.
- add upstream link. Here, upstream could be any name
git remote add upstream https://github.com/whoever/whatever.git - fetch content. ```git fetch upstream`
- goto your branch and merge (keep local changes) or rebase (do not keep) upstream branch.
Reference: