Yes, it's possible. You can use a FetchCommand and then inspect the FetchResult. Something like this:
Repository repository = FileRepositoryBuilder.create(gitDir);
Git git = Git.wrap(repository);
FetchResult result = git.fetch().call();
for (TrackingRefUpdate refUpdate : result.getTrackingRefUpdates()) {
// ...
}