Follow #24380 It's better to warn users when they try to rename the default branch.  --------- Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Jason Song <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Giteabot <[email protected]>