Skip to main contentIBM Garage for Cloud

Git-Ops

GitOps is the operational pattern of using source code repositories (namely Git) as the source of truth for defining the configuration that makes up the desired state of the operational environment. Git repositories are used to declaratively represent the desired state of applications in deployment environments.

GitOps takes advantage of several Git features:

  • Git provides a versioned history of changes, listing what was changed and who made the change
  • Change releases can be managed from a pull request, allowing multiple people to make changes but a select few to approve the changes
  • Git provides access control mechanisms to limit who can change and view the configuration
  • Git enables changes to be rolled back quickly if there is an issue with a new release
  • Git supports multiple models for change management: Branches, Forks, GitFlow, etc
  • Hosted git providers (like GitHub) provide a rich API that allows the different operations to be automated, if desired