test git version string

The git version string is used in the wild, and in git gui,
for capability checking purposes. Test the string format
and version x.y.z number.

Signed-off-by: Philip Oakley <philipoakley@iee.org>