Introduction to Git

The following pages contain an introduction to git for scientific software developers. The primer is targeted at first-time developers who will be developing software via Gitlab. We focus on explaining concepts and workflows mentioned in the software management guide. Specifically, we introduce repositories, commits, branches, and merge requests.

As this is just a brief introduction, we recommend new developers also explore more comprehensive guides. For example, this tutorial by the Software Carpentries introduces git in more detail, and there are many other resources online.