About the default branch name
When you create a new repository on GitHub, the repository contains one branch, which is the default branch. You can change the name that GitHub uses for the default branch in new repositories you create. For more information about the default branch, see "About branches."
You can set the name of the default branch for new repositories. For more information, see "Managing the default branch for your repositories," "Managing the default branch name for repositories in your organization," and "Enforcing repository management policies in your enterprise account."
Setting the default branch name
- Klicke in der oberen rechten Ecke einer beliebigen Seite auf Dein Profilfoto und klicke dann auf Settings (Einstellungen).
- Klicke in der linken Seitenleiste auf Repositories (Repositorys).
- Under "Repository default branch", click Change default branch name now.
- Type the default name that you would like to use for new branches.
- Klicke auf Update (Aktualisieren).