references: use new names in internal usage Update internal usage to use the `git_reference` names for constants.