Source control providers

Which repository provider each Salesforce tool requires: Lifecycle Center names GitHub and Bitbucket, and Salesforce CLI requires none.

Does the provider that hosts the repository decide which Salesforce tools a team can use? Yes, and in one direction only: Salesforce CLI (command-line interface) requires none, and Lifecycle Center (formerly DevOps Center), Salesforce’s click-based tool for taking changes to production, names two. This page covers that choice and what it ties you to. What changes when the source of truth moves from the org to a repository is in Source control, and what gets installed on the local machine is in Development environment.

Two paths and an asymmetry

A source control provider is the service that hosts the repository — the place where the team’s changes and their history are kept — and manages access, branches and pull requests, the requests to merge one branch into another after a review. Git is the version control system those services host.

Salesforce documents two paths for taking a change from the repository to an org (a Salesforce organization), and only one of them imposes a provider.

  • Salesforce CLI and a Salesforce DX (Developer Experience) project. The developer guide describes the step as extracting your customizations from the org and storing them “in a source control system, such as GitHub, which then becomes your new source of truth”. GitHub arrives after “such as”: it is an example, not a requirement. The same page says it without any name: “Instead of the org, your version control system is the source of truth”.
  • Lifecycle Center. Here the provider is a requirement. Help writes it on its planning page: “Lifecycle Center supports GitHub and Bitbucket. Both providers offer the features that Lifecycle Center requires”.

Calling that difference an asymmetry is this page’s reading, not a word of Salesforce’s. The consequence, though, is Salesforce’s own: the same article puts the provider choice among the decisions that “shape how effectively Lifecycle Center works for your organization”, alongside the number of pipeline stages and the orgs you connect. It is a design decision, not an installation detail.

What Lifecycle Center requires of the provider

The table uses five terms. A pipeline is the sequence of stages up to production, each with its own org and its own branch. A REST API (application programming interface) is the interface one system uses to call another over the network, and OAuth 2.0 is the protocol a user delegates that access with, without handing over a password. A connected app is the registration Salesforce identifies itself to that other system with. And an IP (Internet Protocol) address identifies the machine that connects.

Requirement What Help says
Provider “GitHub.com cloud-based plans, including GitHub Enterprise Cloud, or Bitbucket Cloud”
Repositories Each pipeline needs its own, as the single source of truth
Structure The repository is a Salesforce DX project, with its configuration file in the root
Branches As a best practice, protect main, staging and integration so a merge does not delete them
Authorization On GitHub, its REST API and OAuth 2.0, through the Salesforce DX connected app
Network If the provider filters by IP address, add the four Lifecycle Center entries

Salesforce also recommends a single provider per team, to keep one unified source of truth.

Two of those rows cost more than they look. The second: one pipeline is one repository, so a team with a single repository and several pipelines has to split it. The fifth: authorizing GitHub raises the Salesforce DX connected app, owned by a Salesforce service account, and Help explains that it requests access to all repositories because Lifecycle Center needs to list them when setting up the pipeline. Repositories owned by a GitHub organization, on top of that, stay invisible until their owner grants access. In a bank that is a conversation with security before the first demo.

The earlier managed package, DevOps Center (Managed Package), names the same two providers, so switching version does not reopen the choice.

The cloud is not optional

The two names Help prints are cloud services: GitHub.com cloud-based plans, GitHub Enterprise Cloud included, and Bitbucket Cloud. None of the sixteen Lifecycle Center articles read for this page names a self-hosted server installation of either. That is what the documentation does not say; it is not a claim about whether it would work.

Two exclusions are written down, and they weigh in a regulated environment: Lifecycle Center is not available in Government Cloud Plus or in EU Operating Zone, the paid offering with a reinforced data-residency commitment. Where the org sits in one of those two, the provider choice never arises, because the click-based path does not exist. That conclusion is this page’s, chaining the two exclusions with the provider requirement.

Bitbucket also arrives with a label GitHub does not carry. Three articles name it unmarked; the review-step article, by contrast, is titled “Review Changes in Bitbucket (Beta)” and carries the beta services terms note, and the account-preparation article writes “Right now, we support GitHub and Bitbucket (beta)”. None prints a publication date, so this page follows the most specific one about that step: Help marks the review step in Bitbucket as beta. It does not say the whole of Bitbucket is.

GitLab: what the documentation says and what it does not

The Lifecycle Center documentation does not name GitLab. It was looked for on 2026-10-30 in the rendered navigation of the whole doc set, 217 entries, and in the four articles that decide the provider. None names it. The claim is about the documentation: Salesforce’s documentation does not list it, and it does not follow from that that it would not work.

In the developer guide it does appear. The two sample continuous-integration repository pages — continuous integration being the practice of integrating the team’s changes into the repository regularly, with automated builds and tests — each carry a table with a “Vendor” column and seven rows: AppVeyor, Bamboo, Bitbucket, CircleCI, GitLab, Jenkins and TravisCI, each with a sample repository published by Salesforce. The general page frames it this way: “Many third-party CI tools are available for you to choose from. Salesforce DX easily integrates into these tools”.

So Salesforce’s documentation covers GitLab on the command-line path and not on the click-based one. The conclusion that follows is this page’s: a team already working on GitLab keeps the path Salesforce documents with a template of its own, and loses the click-based pipeline for as long as Help names two providers.

Which path each source control provider opensThree levels from top to bottom. At the top, the team chooses the provider that hosts its repository. That choice branches on whether the Lifecycle Center documentation names that provider. If it does, as it does for GitHub.com cloud-based plans and Bitbucket Cloud, the team can use the Lifecycle Center click-based pipeline and Salesforce CLI as well. If it does not, the team is left with Salesforce CLI, a Salesforce DX project and a third-party continuous integration tool.YesNoThe team picksthe providerDoes LifecycleCenter's Helpname it?Clicks and CLICLI only

What does not depend on the provider

The format the metadata is stored in, source tracking, the pipeline branches and conflict detection belong to Salesforce CLI and to Lifecycle Center, not to the provider; they are in Source control, just as the deployment commands are on their own page.

Working outside the interface does not depend on it either. Lifecycle Center creates the work item branch — a work item being one concrete change — and displays its URL; the team commits, pushes the branch and opens the pull request against the first stage’s branch in their provider, and then marks the work item Ready to Promote. Synchronization maps the repository’s events to Lifecycle Center actions: create the branch, open the pull request, approve it and merge. Help accepts “external tools, such as Git CLI or the source control provider’s UI” for this, naming none.

Agentforce Vibes IDE, Salesforce’s browser-based integrated development environment (IDE), does the same: Help writes the clone step with the host as a placeholder, <source_control_provider>, and names no provider.

Example: a private bank already works on GitLab

A private bank keeps all its code on GitLab and wants to start versioning its Salesforce metadata. The order of the steps is this page’s proposal.

  1. Check the list. Lifecycle Center’s Help names GitHub.com cloud-based plans and Bitbucket Cloud. GitLab is not there, so the click-based pipeline is not an option today.
  2. Take the documented path. The team stays with Salesforce CLI and a Salesforce DX project, the path the developer guide describes without requiring a provider.
  3. Automate. Start from the GitLab continuous-integration template the guide lists in its two sample-repository tables.
  4. Write down the cost. No click-based pipeline, no conflict warning on promotion and no Lifecycle Center pull request synchronization.
  5. If it later wants the clicks. It would have to move the repository to one of the two named providers, one per pipeline, with the project configuration file in the root, protect main, staging and integration, and take the connected app’s authorization through security. And check first that the org is not in Government Cloud Plus or EU Operating Zone.

When to choose which

The criterion that separates them is whether the team wants Salesforce’s click-based pipeline or the command line is enough.

Choice Use it when Do not use it when
GitHub.com cloud plans You want the click-based pipeline and the team is already on GitHub. Internal policy requires a self-hosted server.
Bitbucket Cloud You want the click-based pipeline and the team is already on Bitbucket. The review step cannot be in beta.
Another provider, CLI only The team already has its repository and continuous integration outside those two. Whoever promotes the changes does not work with Git.

Before production

  1. Check that the org is not in Government Cloud Plus or EU Operating Zone.
  2. Choose a single provider from the two Help names, and write the choice down.
  3. One repository per pipeline, with the project configuration file in the root.
  4. Protect main, staging and integration so a merge does not delete them.
  5. Review the Salesforce DX connected app’s scope with security before authorizing it.
  6. Grant access to the organization’s repositories in the provider, or they stay invisible.
  7. Add the four Lifecycle Center entries if the provider filters by IP address.
  8. If the provider is outside the list, plan your own continuous integration from the start.

Official sources

Back to the knowledge base