- Use `git remote` to get list of remotes. - Use `git fetch ustream` if any of the remotes are named `upstream`. `upstream` is the name by GitHub when you fork a repo. - Support a "debounce" period, to not annoy the user if they switch back and forth between two directories frequently.
git remoteto get list of remotes.git fetch ustreamif any of the remotes are namedupstream.upstreamis the name by GitHub when you fork a repo.