Prerequisites
Before enabling Git Sync on a project, an organization administrator must connect a Git provider. For self-hosted deployments, the provider must first be configured at the server level - see Git integrations.Connect a Git provider
Organization administrators can connect GitHub, GitLab or Azure DevOps from the integrations page.- Navigate to Admin > Integrations
- Find the card for your preferred provider (GitHub, GitLab or Azure DevOps)
- Click Connect
Connecting GitHub
- Click Connect to GitHub
- If the GitHub App is already installed on your account, select which organization to connect
- If not installed, you’ll be redirected to install the GitHub App - choose which repositories to grant access to
- Complete the authorization
Connecting GitLab
- Fill in the connection form:
- Click Connect to GitLab
- Authorize the application in GitLab
- You’ll be redirected back to BRMS
Connecting Azure DevOps
Connecting Azure DevOps lets BRMS push to Azure Repos and trigger Azure Pipelines from webhooks. For the Entra ID app registration walkthrough and server-side details, see Git integrations. Two connection methods are available:
Both methods require the Organization URL:
https://dev.azure.com/<organization> for Azure DevOps Services, or your collection URL for Azure DevOps Server.
Service Principal
- Register an application in Microsoft Entra ID and create a client secret
- In Azure DevOps, go to Organization settings > Users and add the application as a member
- Grant it access to the projects and repositories it should reach
- In BRMS, fill in the connection form:
Access Token
- Create a Personal Access Token in Azure DevOps (User settings > Personal access tokens) with the following scopes:
- Code: Read & write
- Build: Read & execute
- Paste the token into the connection form and click Connect
GitLab and Azure DevOps credentials are encrypted and stored securely using your organization’s secrets provider. For self-hosted deployments, secrets management must be configured before connecting these providers.
Enable Git Sync on a project
Once a Git provider is connected, project managers can enable Git Sync for individual projects.- Navigate to Project Settings > Git Sync
- Toggle Enable Git Sync to on
- Configure the sync settings:
- Click Save Configuration
How Git Sync works
When you merge a branch in BRMS:- A new branch is created in the Git repository (e.g.,
commit-abc12345) - All decision files from your project are committed to the configured path
- A metadata file is included with sync information
- A Pull Request or Merge Request is automatically created against your target branch
Synced file structure
Project metadata
Each sync includes a.config/project.json file with metadata:
Sync status
After a merge, the commit history shows a sync status badge:Permissions
Troubleshooting
”No Git integration configured” warning
No Git provider is connected to your organization. Contact your organization administrator to configure a GitHub, GitLab or Azure DevOps integration in Admin > Integrations.Sync status shows “Failed”
Hover over the red badge to see the error message. Common causes:- Repository access was revoked
- Target branch no longer exists
- Network connectivity issues