Rename rename reflog api to log
ref: add ggit_ref_has_log