This tutorial aims to provide you with the step-by-step guide on how to setup Git with R and RStudio.
To get started, you need to install Git in your computer. Additionally you will also need a GitHub account.
This step aims to tell RStudio where to find the Git installation.
Your screen should look similar to the screenshot below.
If there is not setting or the setting is at the wrong path,
In this step, you will configure Git and set your user name and email (the email address you used to register on GitHub). You can directly open the Git prompt from within RStudio.
Note: User name and email needs to be set only once.
Note: the user.name should be the user name on Github and the user.email should be the email address you used to create Github account.