Install Git
Windows
Download the installer from git-scm.com/download/win and run it with default settings.
macOS
Open Terminal and run git --version. Install Xcode Command Line Tools if prompted. Or download from git-scm.com/download/mac.
Linux (Ubuntu/Debian)
sudo apt update
sudo apt install git
Configure Git
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
git config --global init.defaultBranch main
git config --list
Verify your settings appear correctly.