Changing your default branch - all the places
You can also read my blog post on changing the default branch stream upstream in git or renaming your own default branch in GitLab.
This post is a living post where I document all the different places where one may need to update the default branch when changing the name