add verify function to check installed libgit2 library version