Git is highly recommended for version control and tracking your project changes. It’s a best practice for all developers.

Install Git

  1. Go to git-scm.com/downloads
  2. Download Git for Windows
  3. Run the downloaded installer
  4. 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
  5. Click Install and wait for completion

Configure Git

After installation, set up your identity (required for commits):
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

Verify Installation

Open your terminal/command prompt and run:
git --version
You should see something like 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
Need help with Git?