Basic Version Control with Git: A Beginner's Workshop

26 Mar 2024 09:00
Course starts
26 Mar 2024 13:00
Course ends
3 places
Available places

Course further information

Learn how to manage versions of your files, as well as those you share with others.

If you have ever written a paper, worked with research data, or programmed your own scripts, the following problems may sound familiar to you: You have accidentally overwritten something and would like to get it back from an earlier version of your file(s). You find yourself looking through a bunch of older versions, wondering what exactly has changed between your current version and the older ones.

Git helps you avoid these sources of frustration. As a version control system, Git lets you save changes in your files to a history and thus helps documenting your work. Using that history, you can see later who changed what when, and ideally also why. You can also go back and revert your project to an earlier stage, should you have accidentally deleted something or broke some functionality in your code. Git even lets you work together with others on the same project or even on the same file at the same time.

In this workshop, we introduce you to the fundamental features of Git. You will learn how to use Git in your daily work to keep track of changes in your documents or code. Git has originally been designed for software development, but has quickly found users beyond the software community. If you consider yourself a non-technical person, this workshop is still for you.

The course is taught in English.

Requirements

During the course you will type along, following the instructors, preferably on your own machine. For this you need a working installation of Git (version 2.23 or above). Downloads and installation instructions for various operating systems can be found here: https://git-scm.com/downloads. If necessary, you can use computers provided at the workshop location, where all needed software is already installed, however working in your usual environment is preferred.

No special previous knowledge is required for the course. You should only be familiar with basic concepts of file systems, files and folders.

Certificate

This course is part of our Software Carpentry Workshop. In order to receive the Software Carpentry Certificate you also have to attend the other two courses.

Contact
zedif@uni-jena.de
Language
English
Core areas
  • introduction to version control
  • install and config Git (git config)
  • create a repository (git init)
  • basic Git workflow: change - stage - commit (git add, git commit)
  • inspect status (git status)
  • explore the version history (git history)
  • compare versions (git diff)
  • revert changes (git restore, git reset)
  • use a graphical user interfaces (git gui, GitLab)
Maximum capacity
14
Cancellation type
Self-cancellation
Location
Ernst-Abbe-Platz 2, Linux pool 1 (room 3413)
Dr. Eckhard Kadasch
Course instructor
Dr. Frank Löffler
Course instructor