Manage changes to your Bicep code by using Git


Track of changes to your Bicep code and view the history of the files you've changed. Use branches to develop multiple versions of your code at the same time. Publish your repository to support collaboration.

Learning objectives

After completing this module, you'll be able to:

  • Explain the benefits of version control and Git
  • Commit Bicep templates to a Git repository and view the history of your changes
  • Create and merge a branch
  • Publish a Git repository to GitHub or Azure Repos so that you can collaborate with others


You should be familiar with creating basic Bicep templates, including modules.

To follow along with the exercises in the module, you'll need Visual Studio Code, installed locally.