Header add

In this article we will learn how to fix the issue "git is not recognized as an internal or external command."

I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error:

To fix the above issue check below conditions



  • Check that must have git installed in your system. To install follow this link
  • After install git Go to My Computer => Local Disk(C:) => Program Files(x86) => Git => cmd
  • Right Click the git => Select Properties
  • Under the location Copy the text eg - C:\Program Files (x86)\Git\cmd
  • Come back to the Desktop
  • Right-click My Computer
  • Select property
  • Open Advanced
  • Click Environment Variables
  • In the System variables Find the Variable call Path
  • Click the variable
  • Click the Edit Button
  • Select the Variable value Text Box .
  • Go to the edge of the text and put semicolon(;)
  • Then Right-click and press Paste
  • Press Ok
Then finally open the console and then can type as git, you should have get git work properly.

Post a Comment

Previous Post Next Post