“Git integration” in Mage is a way to collaborate with teammates using Git. It provides a way to push changes to a branch in an external repository. If you’re using GitHub, we recommend Mage’s direct GitHub integration rather than this method.

First, you’ll need to configure Git— see this guide. Once your git settings are configured, you can perform various Git actions in Mage. To start, click the button at the top right with the name of the current branch.

Once the modal is open, you can start performing actions. Currently, the Git integration supports the following actions:

For any other operations you may need, you can perform them through the terminal. You can open the terminal by clicking the terminal toggle in the top right of the modal.

Was this page helpful?