Development
Using Git in Mage
There are a number of ways to enable version control, collaboration, and easy deployment using Git in Mage. We'll cover them all on this page.

Choose your adventure
There three different ways to use Git in Mage and four ways to version control your files— we’ll discussing each of them.
If you’re simply looking for version control, you’re in luck! It ships out-of-the-box with Mage. That means you can always restore previous versions of your files, even if you haven’t configured any version control system. Check out this page for more info.
Methods of using Git in Mage
Recommended | Use | Recommendation | Ease of use | Functionality |
---|---|---|---|---|
✅ | I want to see a history of my file edits | Mage version control | Beginner | File-level versioning |
✅ | I want to develop/deploy Mage using Git with GitHub | GitHub version control | Moderate | Full w/ OAuth |
✅ | I want to deploy Mage using Git with any provider | Git integration with Git Sync | Advanced | Full w/ SSH/HTTPS Auth |
🚫 | I want to develop Mage using Git with any provider | Git integration without Git Sync | Advanced | Full w/ SSH/HTTPS Auth |
Generating an SSH Token
Depending on your authentication method, you may need to generate an SSH token. See our guide here for more information.