git version

Category: Git - Core

git version

Print the installed Git version

Shows the Git version plus platform details, like git version 2.43.0. Scripts parse it to gate features that need newer Git. The short form git -v prints the same output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.