
There are many ways to treat your RStudio project as a git repository, or repo for short. These values will later show up in all commit and collaboration messages, so make sure they are appropriate for public visbility. git configīefore getting started with git, you should identify yourself with: git config -global user.name "" The following commands should eventually become so habitual that they take only seconds to complete. I encourage you to practice with both the command-line and the RStudio Git interface. Once you have set up Git, here are 10 commands and their RStudio GUI interface equivalents to get started using Git. Resources such as HappyGitWithR and provide detailed setup instructions and interactive tutorials. The RStudio IDE offers Git functionality via a convenient web-based interface (see the “Git” tab), as well as interaction with git via the command-line (via the “Console” tab, or via the “Git” tab’s “More”->“Shell” menu option). While the emphasis is often on collaboration, Git can also be very useful to the solo practitioner.

Git and its online extensions like GitHub, Bitbucket, and GitLab are essential tools for data science.

Roland Stevenson is a data scientist and consultant who may be reached on Linkedin.
