How to Change Default Branch in GitHub | Scribe

    How to Change Default Branch in GitHub

      1
      Navigate to your repository page on GitHub.
      2
      On your repository page, click Settings.
      3
      Select Branches from the options on the left sidebar.
      4
      Click the icon to the right of the branch name to switch to another branch.
      5
      From the drop-down, select the branch that you want to switch to.
      6
      Next, click update to perform the switch.
      7
      Click the big red button saying that you understand the changes you're about to make. After that, your default branch is changed.