Add basic Index object based on libgit2.