This ref needs a call to `git_reference_free`