Git remotes test If this works, then the "pull" button in RStudio will do git pull upstream main, and "push" will do git push origin main.