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

In 2007 the course will be given on the following dates: 8 June (10:30 - 17:00), 22 November (9:30 - 16:30).

Details for the next session:

  • Date: June 8th, 2017
  • Time: 10:30 - 17:00
  • Location: 01-J-01-082
  • Teachers:
    • Jeroen Laros (j.f.j.laros@lumc.nl)
    • Mihai Lefter (m.lefter@lumc.nl)
  • Registration via www.medgencentre.nl. Direct access to the registration form.

Program

Will be updated shortly. Please find below the program from the last course session only as a guideline.

Time Subject Teacher Contents
09:00 Introduction Jeroen Laros Welcome, GitLab overview, SSH keys
09:30 Practical
09:45 Git basics Wibowo Arindrarto Basic Git command line fu
10:30 Practical
11:00 Coffee
11:15 Git and remote repositories Martijn Vermaat Sharing and collaborating via GitLab
12:00 Lunch
13:00 Practical
13:30 Data analysis Szymon Kiełbasa More GitLab, Markdown, data analysis use case
14:30 Break
14:45 Combining changes by merging Martijn Vermaat Commit graph, merging, resolving merge conflicts
15:30 Practical
16: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

  • 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