Skip to content

Instantly share code, notes, and snippets.

@sofusalbertsen
Created June 13, 2023 13:58
Show Gist options
  • Save sofusalbertsen/f1e6b01ebdbeaff9fae8ba5d71a09cf0 to your computer and use it in GitHub Desktop.
Save sofusalbertsen/f1e6b01ebdbeaff9fae8ba5d71a09cf0 to your computer and use it in GitHub Desktop.

Dear participant, in order to be prepared for our Git course please make sure that you have Git up and running.

You should be working with a reasonably recent version. Any version from 2.18 and forward should be good.

Windows: Download appropriate installer from: https://git-scm.com/download/win

Mac: Download from: https://git-scm.com/download/mac or use Homebrew with brew install git.

Linux: Instructions for various distributions can be found at https://git-scm.com/download/linux

Atlassian has a quite good guide for installation on all platforms: https://www.atlassian.com/git/tutorials/install-git

After the installation you can test if the Git installation is working by doing the following in a terminal(Git bash in Windows, terminal on Mac/Linux)

  1. run:
git --version

to test if Git is working

  1. Run:
git config --global user.name "Your Name Goes Here"

and

git config --global user.email "johndoe@example.com"

To tell Git who you are. This is also covered in the installation guide from Atlassian.

If you are unused to working in a unix-like shell, I recommend running over A Beginner’s Guide to Surviving in the Linux Shell and try out a few things. This is not mandatory, but can make your day a bit easier! :)

I will cover the required shell commands in the course - but it is an advantage to have seen them before.

On Windows the easiest is to use "Git Bash" that is installed together with Git.

On Mac you can use the built-in terminal.

If any of you are on Linux, you are likely capable of locating a terminal, and using it ;)

Otherwise, all the preparation you need is a functional laptop with a charger, and then the mindset of learning, and we should be good.

I look forward to teaching you Git!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment