Instead of duplicating code, this should be made into a Perl sub in `Reference.pm` that simply calls Git::Raw::RefLog -> open()`.