Steps

1. Download Git

Go to https://git-scm.com and click “Download for Windows”.

2. Install

Key options during setup:

  • Change the default branch name to main
  • Select “Git from the command line and also from 3rd-party software”

3. Verify the Installation

git --version

4. Initial Configuration

git config --global user.name "Your Name"
git config --global user.email "your@email.com"

Common Pitfalls

  • Restart the terminal after installation
  • Without setting user.name and user.email, commits will throw an error
  • Set the default branch to main during install (not master)

After installing Git, set up SSH authentication so you don’t need to enter a password every time. See Generate an SSH Key and Add It to GitHub.

  • Fiverr - Find freelance developers and tech experts