This post assumes you have Git set up in an RStudio project and that you have a basic idea what Git is for. If not, start back at the post Time to Grow Up and Use Git. Once you have an RStudio project set up with Git support, come back here.
Staying organized is a bitch. Using a separate RStudio project for each distinct task you’re working on is a core organizational principle that works on its own for statistical projects related to classwork or publications. Things get harder, however, when your RStudio project also has a GitHub repository and is a Shiny app hosted on a server like shinyapps.io.
I have placed the current project code, which is a functioning single-user (on your own computer) version, in both repositories. It’s called RCT. The version of RCT in my personal account includes the data files for the vitamin D project; the version in the Open-Meta account does not and is ready to be used on a new project.
One thing about Git and GitHub that has had me puzzled was how to connect RStudio to two different GitHub accounts, my personal account and the Open-Meta account. My Google searches were turning up nothing on this.
Git is software that keeps close track of the changes you make to your work. The folks who wrote Linux designed and developed Git; group work on a software project is pretty much impossible without something like this.