There are some instructions on how to rename the main branch.
These are steps I've taken on the command line:
git checkout master
git branch -m main
git push origin -u main
The branch is pushed to the Bitbucket (cloud) and I can see the branch
However, when I try to switch the main branch in
Repository Settings -> ... Main Branch - the dropdown list does not main as a branch that can be selected.