if you are using the gh cli https://cli.github.com/
gh repo sync your-user-name/your-repo
suppose your username is baz, you forked foo/bar into baz/bar
gh repo sync baz/bar