Preserve target references for tags and braches
Right now, we ask Rugged for the references, which we then wrap around our Gitlab::Git::Ref
object which ditches everything but the sha as a string. Back on gitlab-ce we find ourselves doing repository.commit(tag.target)
for each tag, which goes back to the repository, when we could've preserved the reference.