Introduction to Git

Version control is an indispensable skill for anyone writing software today, whether working alone on a research script or collaborating with a team on a large codebase. Git has become the universal standard for tracking code changes, and mastering it enables developers to confidently experiment, recover mistakes, trace the origin of bugs, and collaborate without overwriting each other’s work. This course introduces Git from first principles: how the repository model works, how commits and branches are structured, and how to interact with remote repositories on platforms such as GitHub or GitLab.

Participants use Git from the command line, working through entry-level solo and collaborative scenarios.

Level: Beginner

Language: English (German upon request for bespoke courses)

Price and Eligibility: Refer to the registration page for each event (generally free of charge for members of academia from Europe).

Knowledge

  • Familiarity with the Linux command line (navigating directories, editing files, running commands)
  • Familiarity with any text editor such as vim or an IDE such as Visual Studio Code

Technical

After completing this course, you will be able to:

  • Explain the core concepts of version control and the Git repository model (working tree, staging area, commits, branches)
  • Create and clone repositories and manage their configuration
  • Commit changes, browse history, and navigate between versions
  • Create and merge branches for feature development and experimentation
  • Synchronize work with remote repositories by pushing and pulling
  • Contribute to projects via forks and pull requests
  • Inspect history to find out who changed what and when
  • Resolve merge conflicts and recover from common mistakes
  • Use Git from the command line

  • Version control concepts: why Git, the repository model, and key terminology
  • Working with repositories: init, clone, staging, and committing
  • Remote repositories: SSH setup, push, pull, and working with GitHub or GitLab
  • Collaboration: branches, forks, pull requests, and conflict resolution
  • Inspecting history: log, show, blame, diff, and grep
  • Undoing changes: restoring files and unstaging (restore, reset)
  • Practical workflows: solo and collaborative development, .gitignore, and writing good commit messages

  • 2026, Nov 2-3: two half-day online course in collaboration with NHR@KIT
  • 2026, Mar 12-13: two half-day online course in collaboration with NHR@KIT

For an overview of all NHR@FAU courses, visit the course overview page.