check for valid git version number in pkg

Conflicts:
	base/pkg/dir.jl