Intro to Git and GitHub: Version Control and Git

University of Utah

April 9 2025

9:00 am - 12:30 pm MDT

Instructors: Madison Golden

Helpers: Kaylee Alexander

Registration: Use THIS LINK to sign up for this workshop

General Information

Software Carpentry aims to help researchers get their work done in less time and with less pain by teaching them basic research computing skills. This hands-on workshop will cover basic concepts and tools, including program design, version control, data management, and task automation. Participants will be encouraged to help one another and to apply what they have learned to their own research problems.

For more information on what we teach and why, please see our paper "Best Practices for Scientific Computing".

Who: The course is aimed at graduate students, postdocs, faculty, and other researchers across campus who are interested in learning how to implement version control and collaborate using git and GitHub. You don't need to have coding experience or any previous knowledge of git or GitHub to attend this workshop. It will be helpful if you have worked in the terminal on your computer before, but this is not a requirement.

Where: Marriott Library, Digital Matters: Room 2751.

When: April 9 2025.

Add to your Google Calendar.

Requirements: Participants must bring a laptop on which you have admin privileges since you will need to be able to install git on your laptop to participate in the workshop.

Accessibility: We are dedicated to providing a positive and accessible learning environment for all. Please notify the instructors in advance of the workshop if you require any accommodations or if there is anything we can do to make this workshop more accessible to you.

Contact: Please email madison.golden@utah.edu or andrew.george@hsc.utah.edu for more information.

Code of Conduct: Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.

Report a Code of Conduct Incident

Setup: Participants must bring a laptop on which you have admin privileges since you will need to be able to install git on your laptop to participate in the workshop. We recommend that you try to get set up before the workshop by downloading and installing git.
Mac: Install git from the git website.
Windows: Install git for windows, which will also install a "git bash" application that we will use as a terminal.

Create a free GitHub account.

Schedule

09:00 Intro to Git
09:05 Setting Up Git
09:15 Creating a Repository
09:25 Tracking Changes
09:45 Exploring History
10:10 Ignoring Things
10:15 Remotes in GitHub
11:00 Collaborating
11:25 Break
11:40 Conflicts
11:55 Open Science
12:05 Licensing
12:10 Citation
12:15 Hosting
12:30 End