Install Git
- Go to git-scm.com/downloads
- Download Git for Windows
- Run the downloaded installer
- Follow the installation wizard with these recommended settings:
- Default editor: Use Visual Studio Code (or keep default)
- PATH environment: Git from the command line and also from 3rd-party software
- Line ending conversions: Checkout Windows-style, commit Unix-style
- Terminal emulator: Use Windows’ default console window
- Click Install and wait for completion
Configure Git
After installation, set up your identity (required for commits):Verify Installation
Open your terminal/command prompt and run:git version 2.40.0
or higher.
Troubleshooting
Command not found?- Restart your terminal/command prompt
- On Windows, restart your computer
- Make sure Git was added to PATH during installation