Prerequisites
Before starting this workshop, make sure you have the following set up. This checklist ensures you can follow along with every lab.
Required Tools
Git ≥ 2.44
Git is the core tool for this entire workshop. Version 2.44+ includes important features we'll use.
bash1$ git --version2git version 2.44.0
If your version is older, update Git:
- Windows: Download from git-scm.com or use
winget install Git.Git - macOS: Run
brew install gitor download from git-scm.com - Linux: Use your package manager (e.g.,
sudo apt install git)
GitHub Account with SSH Key
You'll need a GitHub account with SSH authentication configured. This allows secure pushing and pulling without entering passwords.
Test your SSH connection:
bash1$ ssh -T git@github.com2Hi username! You've successfully authenticated, but GitHub does not provide shell access.
If you see "Permission denied", you need to set up SSH keys:
- Generate a key:
ssh-keygen -t ed25519 -C "your_email@example.com" - Add to ssh-agent:
eval "$(ssh-agent -s)"thenssh-add ~/.ssh/id_ed25519 - Add public key to GitHub: Settings → SSH and GPG keys → New SSH key
Editor + Terminal Access
You'll need a code editor and terminal. Any combination works:
- VS Code with integrated terminal
- Terminal app + vim/nano
- Any IDE with terminal support
Optional Helpers
These tools enhance the Git experience but aren't required:
GitHub CLI (gh)
The GitHub CLI lets you create repos, open PRs, and manage issues from the terminal.
bash1$ gh --version2gh version 2.40.034$ gh auth status5✓ Logged in to github.com as username
Install: brew install gh (macOS) or winget install GitHub.cli (Windows)
Delta (Better Diffs)
Delta provides syntax-highlighted, side-by-side diffs that are much easier to read.
bash1$ delta --version2delta 0.16.5
Install: brew install git-delta or see dandavison/delta
pre-commit
Automates code quality checks before each commit.
bash1$ pre-commit --version2pre-commit 3.5.0
Install: pip install pre-commit or brew install pre-commit
Quick Checklist
Before proceeding, verify:
-
git --versionshows 2.44 or higher -
ssh -T git@github.comauthenticates successfully - You have a terminal and editor ready
- (Optional)
gh auth statusshows logged in - (Optional)
delta --versionworks if you want better diffs
What's Next
Once your prerequisites are confirmed, you'll configure Git with your identity and preferences in the next topic. This one-time setup ensures your commits are properly attributed and your workflow is optimized.
Key Takeaway
A properly configured environment prevents frustrating issues later. Taking 10 minutes now to verify your setup will save hours of troubleshooting during the labs.