DOKK / manpages / debian 12 / git-man / git-version.1.en
GIT-VERSION(1) Git Manual GIT-VERSION(1)

git-version - Display version information about Git

git version [--build-options]

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.

--build-options

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

Part of the git(1) suite

02/28/2023 Git 2.39.2