moved git2r to enhances, and added some git2r functions to globals to make check happy