/**
  * Verify git version
  *
  * Verify hat the version of the installed GIT binary is at least 1.6. Will
  * throw an exception, if the binary is not available or too old.
  * 
  * @return void
  */
 protected static function checkVersion()
 {
     if (self::$checked === true) {
         return true;
     }
     $process = new pbsSystemProcess('git');
     $process->nonZeroExitCodeException = true;
     $process->argument('--version')->execute();
     if (!preg_match('(\\d+(?:\\.\\d+)+)', $process->stdoutOutput, $match)) {
         throw new vcsRuntimeException('Could not determine GIT version.');
     }
     if (version_compare($match[0], '1.6', '>=')) {
         return self::$checked = true;
     }
     throw new vcsRuntimeException('Git is required in a minimum version of 1.6.');
 }