Allow to use libgit2 for unified diff