Git & GitHub — Full Team Workflow Guide
3%
Git Setup

Install Git on Your Laptop

Steps to follow

  1. 1 Open your Terminal (Mac/Linux) or Git Bash (Windows).
  2. 2 Run git --version — if you see a version number, Git is already installed.
  3. 3 If not installed, follow the command for your operating system shown in the code panel below.
  4. 4 After installation, run git --version again to confirm it worked.
💡

Tip: Git Bash on Windows gives you the same Unix-style commands as Mac and Linux — use it throughout this guide for consistency.

macOS (using Homebrew)
bash
# First check if Git is already installed
git --version

# If not found, install via Homebrew
brew install git

# Verify installation
git --version
# Expected output: git version 2.44.0 (or similar)
Windows (using Git for Windows)
bash
# Download the installer from: https://git-scm.com/download/win
# Run the .exe installer — accept all defaults
# Open 'Git Bash' from the Start menu

# Verify installation inside Git Bash:
git --version
# Expected output: git version 2.44.0.windows.1
Ubuntu / Debian Linux
bash
sudo apt update
sudo apt install git -y

# Verify installation
git --version
# Expected output: git version 2.43.0
1 / 34