Installing Git

Nothing is needed to possess a Git repo (it’s just a folder with a hidden .git subfolder). To interact with it, though, you need the git program. This page describes how to obtain this program.

The official installation instructions can be found here: https://git-scm.com/install. The info below is my version of the above. See the section that corresponds to your operating system.

Windows

There are a few ways to use the Git program in Windows. Below, I describe two. Pick whichever one feels better to you.

Option 1: Git Bash

Git Bash installs Git and also Bash and a few other things.

Start by going here: https://git-scm.com/install/windows.

Screenshot 2026-08-24 122350 Screenshot 2026-08-24 122350

Click Click here to download in the first paragraph. (It should link to something here.)

Screenshot 2026-08-24 122402 Screenshot 2026-08-24 122402

Open the downloaded file.

260824_152421 260824_152421

Click Yes.

Screenshot 2026-08-24 122431 Screenshot 2026-08-24 122431

Click Next.

Screenshot 2026-08-24 122438 Screenshot 2026-08-24 122438

Click Next. Select all the check boxes.

Screenshot 2026-08-24 122509 Screenshot 2026-08-24 122509

Click Next.

Screenshot 2026-08-24 122518 Screenshot 2026-08-24 122518

Click Next. Select an editor you know. I love Vim, but if you don’t know what that is, find something you do. Notepad is a safe choice here.

Screenshot 2026-08-24 122546 Screenshot 2026-08-24 122546

Click Next. Select Override the default branch name for new repositories. Keep the name main in the box.

Screenshot 2026-08-24 122607 Screenshot 2026-08-24 122607

Click Next.

Screenshot 2026-08-24 122640 Screenshot 2026-08-24 122640

Click Next.

Screenshot 2026-08-24 122717 Screenshot 2026-08-24 122717

Click Next.

Screenshot 2026-08-24 122737 Screenshot 2026-08-24 122737

Click Next.

Screenshot 2026-08-24 122800 Screenshot 2026-08-24 122800

Click Next.

Screenshot 2026-08-24 122814 Screenshot 2026-08-24 122814

Click Next.

Screenshot 2026-08-24 122825 Screenshot 2026-08-24 122825

Click Next.

Screenshot 2026-08-24 122831 Screenshot 2026-08-24 122831

Click Next. Wait for the install to complete.

Screenshot 2026-08-24 122901 Screenshot 2026-08-24 122901

Click Finish. You’re done!

Option 2: WSL2

Install WSL2 using these instructions: https://learn.microsoft.com/en-us/windows/wsl/install. Then, follow the instructions below for the distribution you installed. The default WSL2 distribution is Ubuntu.

macOS

Open the Terminal application. Instructions here: https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac.

Then type or copy/paste the following:

xcode-select --install

Press the Enter key.

Bonus points: send me screenshots, and I will add them here.

Ubuntu (and other Debian-based distributions)

Open the Terminal application.

Then type or copy/paste the following:

sudo apt update
sudo apt install git

Press the Enter key.

Other operating systems

Most Linux distributions provide Git in their package manager under the name git. If you’re using an operating system for which this does not apply, you probably know what you’re doing, but feel free to reach out to me if you need help!