Read the reflog for the given reference
The reflog must be freed manually by using git_reflog_free().
pointer to reflog
reference to read the reflog for
GIT_SUCCESS on success; error code otherwise