Git course

Git course

Website and materials for our Git courses

Code and data management with Git

This is the website for the course Code and data management with Git. This course consists of an introduction to working with the Git version control system for data analysis and is aimed primarily at researchers in the LUMC.

The Git system is widely used by software developers, but can also be used for project management. In the LUMC we use GitLab as a collaborative environment on top of Git. By keeping track of all versions, history, etc, GitLab makes your projects more reproducible and collaboration with colleagues easy (introduction).

Coordinates

Details for the next session:

Program

Time Subject Teacher Contents
09:00 Introduction Mihai Lefter Welcome, version control introduction
09:30 Git basics Wibowo Arindrarto Basic Git command line flow
10:15 Practical
11:00 The git commit graph Mihai Lefter Commit graph, branching, merging, and resolving merge conflicts.
11:45 Practical
12:30 Lunch
13:30 Collaboration: remote repositories Jonathan Vis Sharing and collaborating via remotes
14:15 Practical
15:00 Questions, closing

Prerequisites

Affinity with the UNIX shell is required before taking the course. For example, our Practical Linux Course is more than enough. In addition, you can find some nice tutorials here.

We encourage you to bring your own laptop, but make sure it has a terminal and Git installed. We work with Linux, but Git also runs on Mac OSX. Windows is not ideal, but here are some suggestions.

We can also provide you with a laptop that has all the required software installed. The lessons are interactive, meaning that you really need a laptop.

Further reading

Past course dates

For corresponding snapshots of this repository, see tags.

Using the course materials

There is one Git submodule on which this repository depends:

First clone this repository, then fetch the data from the submodule:

git clone https://git.lumc.nl/humgen/gitcourse.git
cd gitcourse
git submodule init
git submodule update

A new presentation can be added like this:

cd presentation
bash mkpres.sh ../mypresentation