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 --version

Working Example

Example Snippetgit
git --version
Git Reference