Update to match new libgit2 git_repository_discover() interface
Add 'trackrelease'