> ## Documentation Index
> Fetch the complete documentation index at: https://help.dsalta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Branch protection should be enabled on repositories

> Checks that branch restrictions exist on repositories.

This check runs on **2 integrations**.

|                  |              |
| ---------------- | ------------ |
| **Severity**     | Info         |
| **Category**     | `governance` |
| **Integrations** | 2            |

## What this checks

Checks that branch restrictions exist on repositories.

## How results appear

A run that completes shows **Completed** in the Tests list regardless of what it found. Open the test's **Source Data** tab and read the result code: **200** means nothing to fix, **207** means the check ran and found a gap to act on. See [Understanding test results](/guides/data-library/test-results).

## Where it applies

Select an integration for its specific remediation steps.

| Integration | Severity | Remediation                                                                               |
| ----------- | -------- | ----------------------------------------------------------------------------------------- |
| Bitbucket   | Info     | [How to fix](/integrations/bitbucket/branch-protection-should-be-enabled-on-repositories) |
| GitHub      | Info     | [How to fix](/integrations/github/branch-protection-should-be-enabled-on-repositories)    |

## Related

* [All compliance tests](/tests/overview)
* [Integrations](/integrations/overview)
