How to Check the Version of git Installed on a Windows Computer



Python


In this article, we show how to check the version of git installed on a windows computer.

If you go to Windows Command Prompt and type in the following line below, you will get back the version of git installed on the computer.




After you put this into the Command Prompt, then you should get the version back, such as that shown below.

How to check the version of git in windows

If git is not installed, then you will get an error message and, of course, no version will be shown.

In that case, git must be installed, which can easily be done at the following link, https://git-scm.com/download/win

Once git is installed on your PC, you can also just type in 'git' and get a display such as that shown below.

How to check if git is installed in windows

git is important for the deployment of many websites and is used often for Python sites such as django websites.

git is a version control system that allows developers to collaborate with other developers, track all work via commits, and revert to any previous version of code (in the event that something was accidentally deleted or for whatever reason we need to go back to a previous version of our code).


Related Resources

How to Randomly Select From or Shuffle a List in Python



HTML Comment Box is loading comments...