Utils.deleteRecursive(serverDir);
Git.init().setBare(true).setDirectory(serverDir).call();
JSch.setConfig("StrictHostKeyChecking", "no");
CredentialsProvider.setDefault(new UsernamePasswordCredentialsProvider("sshd", "sshd"));
GitSshdSessionFactory.setInstance(new GitSshdSessionFactory());
File dir = new File("target/git/local/test.git");
Utils.deleteRecursive(dir);
Git.cloneRepository()
.setURI("ssh://sshd@localhost:8001/test.git")