# How to install Git on Windows

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

```cmd
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](https://git-scm.com/download/).  
*At the time of writing, the latest version is (2.33.1) 64-bit version.*
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1635804203130/8vBa4Z7Ro.png)
2. I followed the default settings in the installation setup.
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1635804772953/k-cvfuvgU.png)
3. To confirm if git has installed successfully.  
`git --version`
![00 - git version.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1635805900346/8BTnRKCPD.png)

