About management of 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 Acerca de las ramas.
Puedes cambiar la rama predeterminada de un repositorio existente. Para más información, consulta Cambiar la rama predeterminada.
Setting the default branch name
- En la esquina superior derecha de cualquier página en GitHub, haga clic en la fotografía de perfil y luego en Configuración.
- En la sección "Código, planificación y automatización" de la barra lateral, haz clic en Repositorios.
- Under "Repository default branch", click Change default branch name now.
- In the text field, type the default name that you would like to use for new branches.
- Click Update.