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
10:00 Introduction Mihai Lefter Welcome, version control introduction
10:30 Git basics Wibowo Arindrarto Basic Git command line flow
11:15 Practical
12:00 Lunch
13:00 Collaboration: remote repositories Jonathan Vis Sharing and collaborating via remotes
13:45 Practical
14:15 Break
14:30 Collaboration: combining changes by merging Mihai Lefter Commit graph, merging, resolving merge conflicts
15:15 Practical
15:45 Break
16:00 Extras Mihai Lefter GitLab and Markdown.
16:30 Practical
17: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

  • September 6th, 2017: Code and data management with Git
  • October 14th, 2013: Git introduction course
  • June 23rd, 2014: Git introduction course
  • December 1st, 2015: Code and data management with Git
  • April 25th, 2016: Code and data management with Git

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