git.commit()
.setMessage("Added testfile")
.call();
}
System.out.println("Added file " + myfile + " to repository at " + repository.getDirectory());
<BUG>File dir = repository.getDirectory();

return dir;</BUG>
}
}

git.commit()
.setMessage("Added testfile")
.call();
