- To sync your repository, first you must have a pointer from the original repository. Let's call it
upstream
$ git remote -v # List all remote repository from your fork
$ git remote add upstream [https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git]
Let us say the original repository is https://github.com/google/material-design-lite
- Next, fetch the upstream branch
$ git fetch upstream