Git & GitHub learning resources#

There are a great many open-source and commercial tutorials, how-to’s and manuals including written pages, tutorials (with exercises, examples etc.), and videos. This table provides some recommendations as of 2021.

Description

Type

Comments

1

Chapter 12 of the DSCI 100 opensource Python textbook.

Text book chapter

“Introduces the concept of using version control systems to track changes to a project over its lifespan, to share and edit code in a collaborative team, and to distribute the finished project to its intended audience”

2

Git workflows by Atlassian

written tutorial

“A Git workflow is a recipe or recommendation for how to use Git to accomplish work in a consistent and productive manner.” This workflow efficiently compares several workflows.

3

7-part intro. to Git from NEON (National Ecological Observatory Network).

written tutorial website

Succinct, no extra words, includes objectives; very nice. Somewhat derived from Software Carpentry (next item). Includes updating repos via “remote”.

4

Git 101 basics

Youtube video (33 mins but play at 1.75 time)

I learned more from this than most other sources, and have watched it several times.

5

Software carpentry’s resources for their hands on workshops.

Well organized website

Includes a workshop schedule, pages for each section & exercises. A bit more wordy than NEON’s introduction, but well designed and tested.

6

Git manual and others, from Git.

Manual; book; videos

Detailed documentation and the comprehensive Pro Git book. Four short videos are good introductions.

7

“Best practices” & Git cheat sheet

PDF page

From a nice (although oldish, 2016) summary by Rebellabs called Git Cheat Sheet: Commands and Best Practices.

8

GitHub Forking

MD page

“Fairly standard” procedure: Create a fork; Do your work; Issue a pull request; Merge back into the original project.

9

Merging vs. Rebasing

Git tutorial page

One of many pages in a comprehensive Git tutorial from Atlassian.com. Their context is Bitbucket (not GitHub) but Git concepts are the same.

10

LinkedIn Learning “courses” for UBC faculty and staff

Video courses

Log in using your CWL and search for Git, or GitHub, etc. There are many, but at least they are not quite as random as the unfiltered internet.