Skip to main content

Course preparations

Please prepare these three things before the workshop, so we can start using Git right away:

  1. Install Git
  2. Create a GitHub account
  3. Install GitHub Desktop and sign in

Install Git on your machine

Below are short instructions for each operating system (see also the official guides). If you already have Git installed, please update it to a recent version.

Download Git for Windows (“Click here to download”) and install it with the default settings.

This also installs Git Bash, a terminal for Git. Open it (search for “Git Bash” in the Windows search bar) and run:

git --version

If you see a version number, the installation worked.

Install Git from the terminal:

sudo apt-get update
sudo apt-get install git

Check the installation with:

git --version

Open the Terminal app and run:

git --version

If Git is already installed, you will see a version number.

If not, macOS will ask you to install the “command line developer tools”. Click Install, wait until it’s finished and run git --version again.

Alternatively, if you use Homebrew, you can install Git with:

brew install git

Sign up for GitHub

We use GitHub as remote repository in the workshop. Create an account here.

TipFree benefits for students and academic staff

Students and academic staff can get free benefits through GitHub Education, e.g. GitHub Pro for students or free GitHub Copilot. You need to apply and verify your affiliation (e.g. with a student ID or enrollment certificate, i.e. “Immatrikulationsbescheinigung”). You don’t need this for the workshop, but it might be interesting if you use GitHub long-term.

Install GitHub Desktop

In the workshop, we use GitHub Desktop to work with Git. Follow Part 1 (Installing GitHub Desktop) and Part 2 (Configuring your account) of this guide.

When GitHub Desktop asks you to configure Git, use your name and the email address of your GitHub account. This is shown on all your commits. You can change it later under File -> Options -> Git (macOS: GitHub Desktop -> Settings -> Git). This setting is also used by Git in the terminal, RStudio or VS Code.

NoteLinux users

There is no official GitHub Desktop for Linux, but you can install the community version from shiftkey/desktop. Then continue with Part 2 of the guide above.