Skip to content

Checking and Installing Git

This guide will help you verify and set up Git, which is required to install the CS4341 referee system.

Checking Git Installation

Open your terminal and run:

git --version

You should see output like:

git version 2.39.2

Installing Git

Windows

  1. Download Git from git-scm.com
  2. Run the installer
  3. Use recommended settings (especially "Git from the command line and also from 3rd-party software")
  4. Choose your preferred text editor (VS Code recommended)
  5. Select "Use Git from Git Bash only" or "Use Git from the Windows Command Prompt"
  6. For line endings, choose "Checkout Windows-style, commit Unix-style"

macOS

Using Homebrew:

brew install git

Or download from git-scm.com

Linux (Ubuntu/Debian)

sudo apt update
sudo apt install git

Verifying Installation

After installing, open a new terminal and verify:

git --version

For additional help, consult the Git documentation or contact the course staff.