Acerca de las restricciones de rama
Branches within repositories that belong to organizations can be configured so that only certain users or teams can push to the branch.
Las ramas protegidas están disponibles en los repositorios públicos con GitHub gratis y en los repositorios públicos y privados con el GitHub Pro, el Equipo de GitHub, la Nube de GitHub Enterprise y el Servidor de GitHub Enterprise. La capacidad de restringir ramas es un tipo de protección de rama que está disponible para los repositorios públicos y privados propiedad de organizaciones en el Equipo de GitHub, la Nube de GitHub Enterprise y el Servidor de GitHub Enterprise.
When you enable branch restrictions, only users or teams that have been given permission can push to the protected branch. You can view and edit the users or teams with push access to a protected branch in the protected branch's settings.
You can only give push access to a protected branch to users or teams with write
access to a repository.
People with admin permissions to a repository are always able to push to a protected branch.
Note: If "Include administrators" is selected, you've enabled required status checks on the branch, and status checks fail, any attempt to push changes to the protected branch will also fail, even for people with admin permissions.