How do you change the [main branch] of a repository in the current version of bitbucket.org
On the Repository settings screen (found in the lower left of the sidebar), you will find a drop down labled "Main branch". From there you can select any currently available branch from the list.
It looks like you're new here. Sign in or register to get started.