Before you can sync, you need to add a remote that points to the upstream repository. You may have done this when you originally forked.
$ git remote -v
# List the current remotes
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)