Version control is only useful if your team actually uses it. My team was new to Git and the available documentation was too dense and slow to be useful day-to-day. This guide was built as a lean, practical quick-reference — covering everything analysts need to get productive with GitHub, RStudio, R Markdown, and Quarto. From creating your first repo to writing polished reports, it focuses on the commands, workflows, and patterns used most. The result: a team that went from avoiding Git to using it confidently for collaboration, reporting, and code management.
| Section | Description |
|---|---|
| Creating a GitHub Repository | Set up and configure a new repo from scratch |
| Linking GitHub to RStudio | Connect a repo to an RStudio Project for version control |
| Markdown Quick Reference | Essential Markdown syntax for documentation |
| R Markdown Quick Reference | A practical reference guide for building HTML reports in R Markdown |
| Quarto Quick Reference | A practical reference guide for building reports in Quarto |
| CSS Styling Quick Reference | Custom CSS styles and a complete style.css file for HTML reports |
| Troubleshooting | Common errors and how to fix them |
If you're new to Git and RStudio, start here:
- Create a GitHub repository
- Link it to an RStudio Project
- Make your first commit, push, and pull
The guide assumes basic familiarity with R and RStudio but no prior Git experience.
| Issue | Guide |
|---|---|
| Git push errors | 01 — Git Push Troubleshooting |
| Incorrect IP address error | 02 — Incorrect IP Address |
.gitignore tips |
03 — Gitignore Tips |
| Accessing linked documents | 04 — Accessing Documents |
| Git tab not visible in RStudio | Tools → Project Options → Git/SVN → set Version Control to Git |
Created by DataDaneHQ
