code: func UpdateRef(ref *Ref, to []byte, reason string) error {
  	return UpdateRefIn("", ref, to, reason)
  }
docs: // UpdateRef moves the given ref to a new sha with a given reason (and creates a
  // reflog entry, if a "reason" was provided). It returns an error if any were
  // encountered.