git-version

From Get docs
Git/docs/latest/git-version


git-version

Name

git-version - Display version information about Git


Synopsis

git version [--build-options]

Description

With no options given, the version of git is printed on the standard output.

Note that git --version is identical to git version because the former is internally converted into the latter.


Options

--build-options
Include additional information about how git was built for diagnostic purposes.


© 2012–2021 Scott Chacon and others
Licensed under the MIT License.
https://git-scm.com/docs/git-version