I am trying to clone a repo from GitHub using JGit, then check whether the clone worked successfully:
Path pathToRepo = ... Git git = Git.cloneRepository()