Download Git: Visit the official Git website at git-scm.com to download the latest version for Windows.

Installation Process

Git setup enables Git Bash Here and Git GUI Here in Windows Explorer, Git LFS, and file associations for Git configuration and shell scripts

Visual Studio Code selected as the default Git editor

Let Git decide selected for the initial branch name in new repositories

Git added to PATH for the command line and third-party software

Git set to check out Windows-style line endings and commit Unix-style line endings

MinTTY selected as the terminal emulator for Git Bash

Git pull set to fast-forward when possible and merge otherwise

Git Credential Manager Core selected as the credential helper

File system caching enabled and symbolic links left disabled

Experimental pseudo console support left unchecked before clicking Install

Post-Installation Steps

Verifying the Installation

  • Open your command prompt or Git Bash terminal.
  • Type git –version and press Enter. If Git is installed correctly, it should display the installed version.

Configuring Git

  • To personalize your Git environment, configure your user name and email using the following commands:
    git config --global user.name "Your Name"
    git config --global user.email "your.email@example.com"
    
  • These details will be used in your commits.