$manlookup

git-version

(1)

Display version information about Git

User commands1 optionsgit-man 1:2.47.3-0+deb13u1
git version [--build-options]

Options

1
--build-options

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

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.

GIT

Part of the git(1) suite