![](https://github.blog/wp-content/uploads/2023/07/255176161-deefd489-1708-4d49-bfef-77b11acee8b9.png?resize=800%2C425)
GitHub Repository Rules are now generally available
Repository rules provide an easy, flexible way to define branch protections and ensure consistency in code across repositories.
![](https://github.blog/wp-content/uploads/2023/07/255176161-deefd489-1708-4d49-bfef-77b11acee8b9.png?resize=800%2C425)
Repository rules provide an easy, flexible way to define branch protections and ensure consistency in code across repositories.