check for valid git version number in pkg