Basic Version Control with Git: A Beginner's Workshop

10 Dec 2024 09:00
Course starts
10 Dec 2024 13:00
Course ends
6 places
Available places
Enrol

Course further information

Learn how to manage versions of your text 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 go back to an earlier version of your files or you find yourself looking through a bunch of older versions of a file, 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 keep track of changes in your files in a history, thus helping to document your work. Using that history, you can later see 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 also 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 text 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. Alternatively, you can use computers provided at the workshop location, where all needed software is already installed. But we recommend that you use your own machine and with your usual environment.

It is helpful to have used a command-line interface, like Bash, before. Within a semester, usually offer a course covering that topic before this course.

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)
Contact
zedif@uni-jena.de
Maximum capacity
20
Cancellation type
Self-cancellation
Location
Ernst-Abbe-Platz 2, Windows pool 2 (room 3417)
Dr. Christian Knüpfer
Course instructor
Dr. Philipp Schäfer
Course instructor