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 the console:
git version 2.6.1
How to check your git version: Windows
- If you have installed a tool like Git Bash, 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.
More Posts related to Git,
- [Fixed] Git Clone git@github.com: Permission denied (publickey) Could not read from remote repository Fatal error
- Github: How to Invite Collaborators
- Git Commit - Author identity unknown, Please tell me who you are email
- [Solution] fatal: not a git repository (or any of the parent directories): .git
- [fix] zsh: command not found: git
- Github: fatal: Authentication failed Support for password was removed on August 13, 2021
- Get List of all local branches git command
- Git Revision Questions Before the Interview
- git fatal: Authentication failed error [fix]
- How to Install Git on Ubuntu Linux
- GitHub: How to Search Code
- How to change Git Default Author and Committer details in Eclipse
- How to check your installed version of Git
- Install GitHub Command Line Tool on Mac
- How to Merge Branch into Master Branch
- Perform an Empty Commit in Git without anything in Staging Area
- Git Fix: fatal: refusing to merge unrelated histories Error
- How to undo last Git Commit on Local Repository?
- git command to remove/unstage files from staging area
- Step-by-Step: Setting up Docker + Ubuntu Linux + Git + GitHub Tutorial
- Remove git config at Local, Global or System Levels?
- Fix [oh-my-zsh] Cant update: not a git repository
- Git Config Command - A Deep Dive
- 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 change directory in Git bash
More Posts:
- Bash For Loop Example - Bash
- How to calculate SUM in Excel on Mac with Examples - Microsoft
- How to disable SharePoint subsite creation option for owners - SharePoint
- Android App Showing Two Toolbars Issue fix - Android
- bash: command not found error [macOS Terminal Linux, Unix or Windows] - MacOS
- Display (Show) bookmarks bar Safari - HowTos
- [Android] RuntimeException: Unable to start activity Need BLUETOOTH permission - Android
- How to change the tab color on Microsoft Excel on Mac - MacOS