see current git version

C++
type: git version
Source

Also in C++: