String localRepoPath = LOCAL_REPO_PREFIX + forkedProject.name;
Git git = Git.cloneRepository()
.setURI(GitRepository.getGitDirectoryURL(forkedProject))
.setDirectory(new File(localRepoPath))
.call();
git.branchCreate().setName("fix/1").call();
git.checkout().setName("fix/1").call();
Repository repo = git.getRepository();
assertThat(repo.isBare()).describedAs("projectYobi-1 must be non-bare").isFalse();
firstCommit = support.Git.commit(repo, repo.getWorkTree().getAbsolutePath(),
"test.txt", "apple\nbanana\ncorn\n", "commit 1");