def test_git(self):
        """
        L{getRepositoryCommand} from a Git repository returns L{GitCommand}.
        """
        _gitInit(self.repos)
        cmd = getRepositoryCommand(self.repos)
        self.assertIs(cmd, GitCommand)

        L{getRepositoryCommand} from a Git repository returns L{GitCommand}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_release.py