You are here:
Source Control in DevOps Center
DevOps Center uses source control as the single source of truth for your project changes. It keeps your changes outside the org so your team can collaborate in one shared space.
Required Editions
| Available in: Lightning Experience in Professional (API access required), Enterprise, Performance, Unlimited, and Developer Editions |
| Available in: Government Cloud Plus as interoperable. Turning on DevOps Center in Government Cloud Plus orgs can send data outside the authorization boundary. Contact your Salesforce account executive for more details. |
| Not available in: EU Operating Zone. EU Operating zone is a special paid offering that provides an enhanced level of data residency commitment. DevOps Center is supported in orgs in the EU that aren’t part of EU OZ, per standard product terms and conditions. |
Source control helps you:
- Track who made each change and why
- Review previous versions
- Recover previous versions of your work if anything goes wrong
If you're new to Git terms like repositories, branches, or commits, DevOps Center handles most Git tasks for you through a click-based user interface. If you already use Git directly for your DevOps tasks, you can continue to do so. DevOps Center syncs those changes.
How DevOps Center Works with Source Control
DevOps Center connects to source control providers, such as GitHub and Bitbucket. You can do most day-to-day tasks in DevOps Center, and still use your provider directly when needed.
You manage the source control process using simple actions in DevOps Center.
| What You Do | What DevOps Center Does For You |
|---|---|
| Set up a new project | Creates a repository if applicable, or connects to an existing repository. |
| Configure your pipeline | Creates or uses existing branches for pipeline stages. |
| Make changes in your sandbox | Tracks changes in the Change Management tab. |
| Commit changes | Formats your changes for Git and pushes them to the repository. |
| Write a short description | Tracks the why behind your change. |
| Create a review | Creates a pull request for your team to review. |
| Promote work items | Merges branch changes forward to the next pipeline stage. |
Common User Concerns
Source control protects your work by addressing these common concerns:
| Concern | Reality |
|---|---|
| What if I commit the wrong changes? | A commit is a save point, not a deployment. Changes move forward and reach production only after your team reviews and promotes them through pipeline stages. |
| What if I delete something important? | Source control keeps version history so your admin can restore previous versions when needed. |
| What if I overwrite someone else’s work? | DevOps Center detects merge conflicts when two people change the same components. DevOps Center prompts you to resolve any conflicts before merging the work. |

