diff --git a/test/test_licensee_project.rb b/test/test_licensee_project.rb
index <HASH>..<HASH> 100644
--- a/test/test_licensee_project.rb
+++ b/test/test_licensee_project.rb
@@ -17,7 +17,7 @@ class TestLicenseeProject < Minitest::Test
         def make_project(fixture_name)
           dest = File.join('tmp', 'fixtures', fixture_name)
           FileUtils.mkdir_p File.dirname(dest)
-          system 'git', 'clone', '-q', fixture_path(fixture_name), dest
+          Rugged::Repository.clone_at(fixture_path(fixture_name), dest).close
           FileUtils.rm_rf File.join(dest, '.git')
 
           Licensee::FSProject.new(dest)
Use Rugged to clone test repos

Avoid the additional dependency on the command line Git client.

This also resolves file locking issues when removing temporary test data
in Git for Windows with "core.fscache" set to "true" [1] (which is the
default in recent versions).

[1] <URL>