Sync before each trigger run field.
To enable Git Sync, first configure Git in Mage, then navigate to the settings page and tick the Git Sync box.
Syncing git submodules
Repositories synced through Mage will only update 1 level of submodules. If your submodule contains other submodules, you will need to manually update them or reformat your submodules. If your repo contains git submodules, you can enable syncing for them by ticking theInclude submodules box. Mage will
use the same credentials that are provided for the main repository to update the submodules.
Git sync settings as environment variables
For Mage versions
>= 0.9.51Mage will prioritize git settings from environment variables when they are set. If you want to be able
to change git settings from the UI, you will need to set the GIT_OVERWRITE_WITH_PROJECT_SETTINGS environment
variable to 1. Otherwise, edits to the git settings from the UI will not be applied.