Fuck that shit. Do you think Alonzo Church would be cool with this bullshit?

Seriously though, let's make sure only `git_reference_free` frees references.