use Test::Requires::Git; # needs some git that supports `git init $dir` test_requires_git version_ge => '1.6.5';