Version control systems track the history of code as it is committed (saved) by any number of developers. Have you made a coding error and cannot debug it? Version control systems allow for resetting code back to when it worked, and show what code has changed since previous commits.
The contents of this lecture provide an introduction to the git version control language, GitHub for cloud hosting open source code repositories, and tutorials that demonstrate common and useful git and GitHub practices. This lecture is intended to be coupled with a discussion on creating reproducible computational research.
The zipped folder contains:
1. pre-meeting software installation instructions,
2. references for discussion on reproducibility, coding best practices, and legal issues, and
3. slideshow with tutorial. Commands needed for the tutorial are in the slide notes. Links to additional video tutorials are provided in a slide.
Combined, the presentation + reproducibility discussion + tutorial are designed to take about 50 minutes to complete. If used in a course, the tutorial information on the hidden slides could be used as part of a student assignment.
Smith, Jared D. and Herman, Jonathan D., "Developing Open Source Software using Version Control Systems: An Introduction to the Git Language for Documenting Your Computational Research" (2020). All ECSTATIC Materials. Paper 87.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 License.
Additional Files2020_GitGithub_Pre-MeetingInstructions.docx (14 kB)
2020_ReproducibilityReadingsList.docx (17 kB)
2020_Smith&Herman_3Aug_Reproducibility+GitGithubCodeLicensing+Tutorial.pptx (5968 kB)
Lecture slides in PPT