Skip to content

Instantly share code, notes, and snippets.

@JKrag
Last active November 7, 2023 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JKrag/a40802bb784d219cd18590e3920e8c42 to your computer and use it in GitHub Desktop.
Save JKrag/a40802bb784d219cd18590e3920e8c42 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. The newest at time of writing is 2.42.1, but 2.28 and forward should be good enough for our needs.

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, or another terminal of your won preference (e.g. iTerm2)

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