# REST API endpoints for branches and their settings

Use the REST API to modify branches and their protection settings.

## Links

* [REST API endpoints for branches](/en/enterprise-server@3.22/rest/branches/branches)

  Use the REST API to modify branches and their protection settings.

* [REST API endpoints for protected branches](/en/enterprise-server@3.22/rest/branches/branch-protection)

  Use the REST API to manage protected branches.