How to check your installed version of Git


In order to check your version of Git software installed on the Operating System just type git --version in your console.



How to check your git version: macOS/Linux

  1. Open Terminal application,
  2. Type: $ git --version,
  3. You should see the installed git version details on the console:
    git version 2.6.1


How to check your git version: Windows

  1. If you have installed a tool like Git Bash, open git Bash (or Git CMD - though deprecated)
  2. Type git --version
  3. You should be able to see your installed git version like:
    $ git --version
    git version 2.21.0.windows.1


⚠️ Note: Make sure you are not running the command on CMD or else you will see this below error!



C:\Users\c2c>git --version
'git' is not recognized as an internal or external command,
operable program or batch file.
Check your installed git version


















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap