/ GIT

Installing Git - Windows

In this quick blogpost, I will share the steps that you can follow in order to install git(2.31.0) on a Windows computer using Firefox as web browser. After completing all the steps of this blog, you should be able to execute git commands using the command prompt.

Installing Git for Windows

1) Downloading Git Executable

  • Go to Git Downloads website.
  • Click on Windows under the Downloads section.

  • Click on Save File.

2) Running Git Executable

  • In your Downloads directory, right click on the Git executable and select Open.

  • Allow the app to make changes clicking on Yes.

3) Completing the Git Setup

  • Click on Next.

  • Select Destination folder and click on Next.

  • Select Components that will be installed and click on Next.

  • Select Start Menu folder and click on Next.

  • Select Default Editor application and click on Next.

  • Select Let Git Decide the name of the initial branch in new repositories and click on Next.

  • Select the Recommended option for adjusting your PATH environment and click on Next.

  • Select Use the OpenSSL libray and click on Next.

  • Select Checkout Windows-style, commit Unix-style line endings (Recommended setting on Windows) and click on Next.

  • Select Use MinTTY (Default terminal of MSYS2) and click on Next.

  • Select Default (fast-forward or merge) and click on Next.

  • Select Git Credential Manager Core and click on Next.

  • Select Enable file system caching and click on Next.

  • Click on Install.

  • Wait for the installation process to complete.

  • Uncheck the View Release Notes box and click on Finish.

Validating Git Installation

  • Open a command prompt window and run the following command.
    git --version