You can revert back to a previous version, if you find errors or accidently deleted something.You can also report errors (bugs) or suggest new additions (features) to projects. People can contribute to your project and vice-versa. It makes sharing of your projects easy (once it’s setup, you’ll get there).Git allows you to track and share your code and analysis. R in combination with the distributed version control system Git provides a convenient setup to make your research project reproducible. Clone/fork an existing project from GitHub.(The tutorial was originally created on GitHub and hosted here.)
This tutorial in the context of the Reproducible Research Workshop provides you with the first steps on how to use Git with R and RStudio.