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¶
- Download Git from git-scm.com
- Run the installer
- Use recommended settings (especially "Git from the command line and also from 3rd-party software")
- Choose your preferred text editor (VS Code recommended)
- Select "Use Git from Git Bash only" or "Use Git from the Windows Command Prompt"
- 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.