DirCacheCheckout

JGit now has a new DirCache based checkout implementation supporting all 3 index stages.
See org.eclipse.jgit.dircache.DirCacheCheckout and tests for examples.