How to install Git on Windows

`git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program.`

·

1 min read

While setting up my new workspace on Windows, I encountered the following error:

git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of 
the name, or if a path was included, verify that the path is correct and try again.    
At line:1 char:1
+ git
+ ~~~
    + CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

In order to resolve this, we need to install git.

  1. Download Git for Windows.
    At the time of writing, the latest version is (2.33.1) 64-bit version. image.png
  2. I followed the default settings in the installation setup. image.png
  3. To confirm if git has installed successfully.
    git --version 00 - git version.png