‘git’ is not recognized as an internal or external command, operable program or batch file

Got the below error when i was trying to sync the latest code and also to get the Git latest version in my Virtual Desktop.

I forgot that my Virtual Desktop was not installed with latest git.

Followed the below steps and the issue is resolved.

Step 1: Click here to navigate to GitHub installation webpage.

Step 2: Click on Git for Windows installer and this will navigate to gitforwindows website.

Step 3: Click on Download to download the latest version of git.

Step 4: Go to Downloads and double click on the downloaded file.

Step 5: Click on Next to start the Git installation setup.

Step 6: Click on Next.

Step 7: Select Components (if required) and Click on Next.

Step 8: Click on Next.

Step 9: Choose the default editor used by Git and Click on Next.

Step 10: Click on Next.

Step 11: Click on Next.

Step 12: Click on Next.

Step 13: Click on Next.

Step 14: Click on Next.

Step 15: Click on Next.

Step 16: Click on Next.

Step 17: Click on Next.

Step 18: Click on Next.

Step 19: Click on Install.

Installation is in progress.

Step 20: Click on Finish to complete the Installation process.

Step 21: Relaunch the Command Prompt (cmd.exe) and type git version to see the git version.

Hope this fix helped you to resolve this issue.

Please share your valuable feedback on this article.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.