diff --git a/src/Git/CheckedOutRepository.php b/src/Git/CheckedOutRepository.php
index <HASH>..<HASH> 100644
--- a/src/Git/CheckedOutRepository.php
+++ b/src/Git/CheckedOutRepository.php
@@ -17,7 +17,6 @@ final class CheckedOutRepository
 
     public static function fromPath(string $path) : self
     {
-        Assert::that($path)->directory();
         Assert::that($path . '/.git')->directory();
         $instance       = new self();
         $instance->path = $path;
diff --git a/test/unit/Git/CheckedOutRepositoryTest.php b/test/unit/Git/CheckedOutRepositoryTest.php
index <HASH>..<HASH> 100644
--- a/test/unit/Git/CheckedOutRepositoryTest.php
+++ b/test/unit/Git/CheckedOutRepositoryTest.php
@@ -30,6 +30,13 @@ final class CheckedOutRepositoryTest extends TestCase
         rmdir($path);
     }
 
+    public function testFromPathRejectsNonGitDirectory() : void
+    {
+        $this->expectException(AssertionFailedException::class);
+
+        CheckedOutRepository::fromPath(__DIR__);
+    }
+
     public function testFromPathRejectsNonExistingDirectory() : void
     {
         $this->expectException(AssertionFailedException::class);
Verify that non-git directories are rejected in `CheckedOutRepository`