Lesson 2 / 26
Installing Git
Get Git on your machine and verify it works.
Install per OS
Pick the command for your platform, then confirm the install.
# macOS (via Homebrew)
brew install git
# Ubuntu / Debian
sudo apt update && sudo apt install git
# Windows: download the installer from git-scm.comVerify
A version number confirms the install worked.
git --version
Output:
git version 2.43.0