RStudio includes integrated support for Git. To use Git with RStudio, below are the steps to get it working:
- Setup a GitHub account here.
- Download and install Rstudio.
- Download and install the platform-specific version of Git (not GitHub), default options work well.
- Configure Git with global commands. I have found this step necessary both times I ran through this process. Open up the bash version of Git and type the following:
git config –global user.name “your GitHub account name”
git config –global user.email “GitHubEmail@something.com” - Open Rstudio and set the path to Git executable. Go to Tools > Global Options > Git/SVN