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.