I know this origin refcounting stuff comes from core Git. Would you want to move it to use `git_refcount` or do you think it's not worth it?