Version control software such as Git is essential for collaboration and version tracking on data science projects, however the learning curve for Git is quite steep. In this workshop we will introduce and practice common workflows using Git and GitHub.
Git is a common tool in software development for version control, while GitHub is a cloud-based service that works in conjunction with the Git software to facilitate version control and collaboration. These tools can be used to improve data science workflows and computationally-enhanced research projects. However the learning curve for Git is quite steep, and often individuals are left to learn Git on their own with little explicit instruction. In this workshop we will introduce Git/GitHub and practice common workflows.
This workshop is designed for individuals with introductory-to-intermediate experience programming in a language such as Python or R.
Room 295 in 1155 E 60th St.
On the day of the workshop, please plan to work from a laptop that has the following installed:
A recent version of R (>=4.1.0), which is available for free at https://cloud.r-project.org/
The most recent version of the RStudio Desktop Integrated Development Environment (IDE version 2022.02.0+443), available for free (RStudio Desktop Open Source License).
The R packages we will use, which you can install by connecting to the internet, opening RStudio, and running at the command line:
install.packages(c("usethis", "gitcreds", "gh"))
Restart your R session before using any newly installed packages
We will be using GitHub in this workshop for version control and publishing. Sign up for a free GitHub.com account at https://github.com/join if you don’t already have one.
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. Source code is available at https://github.com/css-skills/intro-to-git, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Soltoff (2022, March 8). Computation Skills Workshop: Introduction to Git and GitHub. Retrieved from https://css-skills.uchicago.edu/posts/2022-03-08-introduction-to-git-and-github/
BibTeX citation
@misc{soltoff2022introduction, author = {Soltoff, Benjamin}, title = {Computation Skills Workshop: Introduction to Git and GitHub}, url = {https://css-skills.uchicago.edu/posts/2022-03-08-introduction-to-git-and-github/}, year = {2022} }