---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Integrate with Git source control

# AES integration with a Git source control
repository {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of AES integration with a Git source control repository

App Engine Studio (AES) enables application developers to integrate with a Git source control repository from a non-production ServiceNow instance.
This integration allows version control and collaborative application development by linking each application to its own Git repository.
Show full answer Show less  
Key capabilities include importing applications from Git, pulling remote changes, committing local changes, creating tags for specific versions, and managing multiple versions through branches.

## Integration Requirements

* The user must have the **admin** role to link applications to Git.
* The non-production instance must have network access to the Git repository.
* Each application must reside in a dedicated Git repository.
* The repository credentials must provide read and write access and are shared by all developers on that instance.

## Capabilities within App Engine Studio

* Edit repository credentials.
* Commit all local changes from the instance to Git.
* Apply remote changes from the Git repository.
* Create and switch branches to support multiple application versions.
* Import applications directly from a remote Git repository.

**Note:** Source control integration is not supported on production instances. Production application management should use the application repository, update sets, or App Engine Studio's application sharing features.

## Working with Git Repository Outside AES

Developers can perform limited modifications to linked application files directly in Git, such as moving files within the repository or editing files outside AES. The system uses a `snsourcecontrol.properties` file to define the application file path within the repository and a `checksum.txt` file to detect external changes.

When external changes are detected, the integration sanitizes and validates application files, which includes:

* Creating upgrade log entries for sanitization actions.
* Removing unsupported folders and files.
* Aborting source control operations if system application files fail XML schema validation.
* Skipping operations on non-system application files that fail validation.

Only files within the defined application path are sanitized; content outside this path is ignored.

## MID Server Support

Using an existing MID Server, developers can connect to Git repositories behind firewalls, enabling source control integration in restricted network environments.

## Security and Permissions

Admin role permissions are required to link applications to source control. For detailed role management and collaboration guidelines, refer to Application collaboration documentation.

## Managing Git Repository Configurations

Developers can edit Git repository integration settings within AES to update network protocols, credentials, and other configuration fields as needed to maintain connectivity and security.  
Enable application developers to integrate App Engine Studio (AES) with a Git source control repository to save and manage
multiple versions of an application from a non-production instance.  
Linking an application to source control enables all application developers on a non-production instance to:

* Import applications from a Git repository.
* Pull and apply remote changes from a Git repository.
* Commit all local changes on the instance to a Git repository.
* Create tags to permanently link to a given version of an application.
* Create branches to maintain multiple versions of an application simultaneously.
{#aes-source-control-integration__ul_f23_qsk_p5}

## Integration requirements {#aes-source-control-integration__section_bgq_czg_kjb}

To link an application to source control:

* The user must have the admin role.
* The non-production instance must have network access to the Git repository.
* Each application must be within its own Git repository.
* The repository user credentials must grant read and write access.
{#aes-source-control-integration__ul_spw_bhl_p5}  
Note:  
All application developers on the instance share a single set of credentials per repository.

## Options available from App Engine Studio {#aes-source-control-integration__section_k2d_kyg_kjb}

After linking an application to source control, application developers can use App Engine Studio to manage the repository. From App Engine Studio, developers can:

* Edit the application repository credentials.
* Commit all local changes on the instance.
* Apply remote changes from the repository.
* Create a branch.
* Switch branches.
* Import an application from a remote repository.
{#aes-source-control-integration__ul_u55_hl4_q5}

Source control integration does not support managing applications on a production instance.
Instead, you can manage applications on a production instance using the application repository,
an update set, or App Engine Studio. For more information about managing
applications on a production instance, see [Application sharing](https://www.servicenow.com/docs/M66MgWaTfG3cnpFwpZKbkw "Administrators can share applications that are complete and are ready for use on other instances.").

## Options available from a Git repository {#aes-source-control-integration__section_spn_nyg_kjb}

The ServiceNow platform offers limited support for modifying linked application files outside of an instance. From Git, developers can:

* Move application files to a different Git directory structure.
* Edit application files outside of App Engine Studio.
{#aes-source-control-integration__ul_gtn_34f_kjb}

The system generates a properties text file called
sn_source_control.properties at the root level of the repository. To move
application files to a different Git directory structure, application developers can set the
path parameter to specify the subfolder path containing their application
files. For example, if you moved your application to the src/app subfolder,
set the path to `path=src/app`.  
The system generates a checksum.txt file in the Git repository to determine if any application files have been changed outside of App Engine Studio. When the checksum value from the file matches the current checksum value, the integration skips the validation and sanitization process. When the checksum values do not match, the integration validates and sanitizes the application files as part of the source control operation. The sanitization process:

* Creates upgrade log entries for each sanitization action taken.
* Removes unsupported folders and files from the repository.
* Aborts all source control operations when a system application file fails XML schema validation. For example, if a database dictionary record fails XML schema validation, the system aborts all operations.
* Skips the current source control operation when a non-system application file fails XML schema validation.
{#aes-source-control-integration__ul_sqt_z4f_kjb}

The Git integration sanitizes only content within the application path listed in the
sn_source_control.properties file. Repository content outside the
application path is ignored.

## MID Server support {#aes-source-control-integration__section_ew2_4y1_njb}

Use an existing MID Server to connect to a source control repository. Connecting an
application through a MID Server enables access to repositories behind a firewall.

## Source control role permissions {#aes-source-control-integration__section_adt_l4c_yxb}

For more information on roles and collaborators, see [Application collaboration](https://www.servicenow.com/docs/QVTyq~sLhX_V20X2XYvEPA "People with admin privileges can manage the permissions of developers collaborating on an application.").
* **[Link an application or application-customization to source control](https://www.servicenow.com/docs/1anndDUKACbkgY2CkKyX2Q)**   
  Linking an application or application-customization to source control allows application developers to manage changes in App Engine Studio (AES) from a Git repository.
* **[Edit a Git repository configuration](https://www.servicenow.com/docs/_LyB58_Kn6IWez0mP8sBXQ)**   
  You can edit a Git repository's integration with App Engine Studio (AES) to change the network protocol selection, credentials or other field entries.

