January 19, 2021 You can now rename any branch, including the default branch, from the web. If you've been waiting to rename your default branch from master to main, we now recommend doing so using this feature. When a branch is renamed: Open pull requests and draft releases targeting the renamed branch will be retargeted automatically Branch protection rules that explicitly reference the renamed