Add pull-requests checkout, and refactor pull-requests switch to use it.
Assume that rebase worked if it passes without issue.
Refactor remote syncing a bit to make it easier to add other repos.
Make sure everything knows where the cache is.