@Test
    void verifyBuildWithFilePrefix() throws Throwable {
        val props = casProperties.getServiceRegistry().getGit();
        props.setRepositoryUrl("https://github.com/mmoayyed/sample-data.git");
        props.setUsername("casuser");
        props.setPassword("password");
        props.setBranchesToClone("master");
        props.getCloneDirectory().setLocation(ResourceUtils.getRawResourceFrom(
            "file://" + FileUtils.getTempDirectoryPath() + File.separator + UUID.randomUUID()));
        val builder = GitRepositoryBuilder.newInstance(props);
        assertDoesNotThrow(builder::build);
    }
Test that clone directory works with file: prefix.
Uses the file:// prefix rather than file: because it should work on windows or linux.
support/cas-server-support-git-core/src/test/java/org/apereo/cas/git/GitRepositoryBuilderTests.java