Updated libgit2 and changed entry to git_entry for compatibility in bigger projects