When you're touching this code anyway: could you provide a wrapper method in `GitWrapPrivate.h` that turns the status code from libgit2 into one of ours - as opposed to just cast it around.