Git Crash course

This course covers the foundational aspects of Git, from create a repository, push/pull your codes and work with collaborators

Instructor: Grégory Sainton

Term: 2019-2021

Course Overview

One-day hands-on training introducing version control with Git and GitLab to researchers and engineers. The course covers core Git concepts (commit, push, pull), branching and merging strategies, and collaborative workflows using GitLab, with practical exercises based on real research project scenarios.

  • Track and manage changes in a codebase using Git’s core commands (commit, push, pull, status)
  • Organise and isolate development work through branching and safely integrate changes via merging
  • Collaborate efficiently on shared codebases using GitLab (merge requests, code review, issue tracking)
  • Resolve merge conflicts and maintain a clean, readable project history

Prerequisites

  • Basic command-line usage (navigating directories, running scripts)
  • Familiarity with at least one programming language
  • No prior version control experience required

Textbooks

  • Pro Git — Scott Chacon & Ben Straub (2nd ed., 2014). Freely available at git-scm.com/book