Once you are doing any data programming, it is highly recommended you start using version control, and for R in particular Github is highly recommended due to its thriving R community.

A few reasons to persuade you to use Github are given below:

Advice for using Github with R

More Reading

Jenny Bryan has created an excellent resource for learning more about using R with Git.