Using repo.Refs.UpdateTarget instead of adding a new ref for remote repositories