git-version - Man Page

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.

Git

Part of the git(1) suite

Referenced By

git(1).

2022-01-19 Git 2.35.0.rc2 Git Manual