Command
git --version
Prints the installed client version and exits without requiring a repository. Version text differs between builds.
Formal Syntax & Structure
git syntaxgit
git --versionWorking Example
Example Snippetgit
git --versionPrints the installed client version and exits without requiring a repository. Version text differs between builds.
git --versiongit --version