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
- Open Terminal application,
- Type: $ git --version,
- You should see the installed git version details on console:
git version 2.6.1
How to check your git version: Windows
- If you have installed tool like gitbash, open git Bash (or Git CMD - though deprecated)
- Type git --version
- 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.
Have Questions? Post them here!
More Posts related to Git,
- How to Install Git on Ubuntu Linux
- How to Merge Branch into Master Branch
- How to change directory in Git bash
- fatal: Unable to create '/c/git_repo/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier.
- How to Install Git on Windows
- How to check your installed version of Git
- Copy all .vcf Mobile Contacts files into one .vcf - HowTos
- How to verify if java is installed on the computer and get version detail - Java
- Unable to find image docker latest locally - Docker
- Android M cannot run app using play button : Android Studio - Android
- How to create SharePoint Document Library - SharePoint
- macOS say command text to speech using various voices and languages - MacOS
- Java Read and Write Properties file with Examples - Java