Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Patching
Debugging
External Systems
Server Admin
Guides
- gitattributes
- Command-line interface conventions
- Everyday Git
- Frequently Asked Questions (FAQ)
- Glossary
- Hooks
- gitignore
- gitmodules
- Revisions
- Submodules
- Tutorial
- Workflows
- All guides...
Administration
Plumbing Commands
-
2.50.0
2025-06-16
- 2.33.2 → 2.49.0 no changes
-
2.33.1
2021-10-12
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.
The libraries used to implement the SHA-1 and SHA-256 algorithms are displayed in the form
SHA-1: <option>
andSHA-256: <option>
. Note that the SHA-1 optionsSHA1_APPLE
,SHA1_OPENSSL
, andSHA1_BLK
do not use a collision detection algorithm and thus may be vulnerable to known SHA-1 collision attacks. When a faster SHA-1 implementation without collision detection is used for only non-cryptographic purposes, the algorithm is displayed in the formnon-collision-detecting-SHA-1: <option>
.
GIT
Part of the git[1] suite