Skip to content

An introduction to Git

Tobias, from Växjö, walks you through an introduction to Git in this video. It’s a few years old, but still works well as a complement to the text below.

6:04

Git is a distributed version control system for tracking changes in your code. It also makes it possible to restore earlier versions if something goes wrong.

GitLab uses Git to track your code and serves as a remote location where you share and store your work. That’s convenient, since everything you do is automatically backed up — you never need to hand in your assignments as zip files.

Want to know more about Git? Have a look at Pro Git, a free and comprehensive book about Git, or read this shorter introduction from Atlassian.

The next guide covers how to install Git on your computer and get started with GitLab. If you already have Git installed, but don’t use your student email as the configured email address, see Multiple Git user configs for help with handling several configurations on the same computer.

CCBY