Git is already installed in your system.
Command Prompt or cmd by typing Command Prompt in search menu. Click on Command Prompt as shown in the screenshot.

git --version
git version 2.35.1.windows.2. Git, is already installed in your system.
'git' is not recognized as an internal or external command, operable program or batch file., Git is probably not installed in your system.
Go to the downloads page of git. Click here
Click here to download as shown below.
Save. In my case, I am downloading in my Desktop.
.exe file. Double Click on it.
Yes if prompted fer User Account Control.Next.
Next.
Next.
Next.
Use the Nano editor by default. and Click on Next.
Next.
Next.
Next.
Next.
Next.
Next.
Next.
Next.
Next.
Install. Wait for the installaion to complete.
View Release Notes. And click on Finish.Git is installed.