You can add rulesets to a repository to control how people can interact with specific branches and tags.| GitHub Docs
Learn which rules you can add to a ruleset to protect specific branches and tags in a repository.| GitHub Docs