Patch Set 1:

The right thing would be to remove IOExceptions in general from the API and re-throw them consistenly as JGitInternalException or a new subclass of GitAPIException, say JGitIOException or similar.