Source control integration The source control integration allows application developers to integrate with a GIT source control repository to save and manage multiple versions of an application from a sub-production instance. Linking an application to source control allows all application developers on a sub-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 To link an application on a sub-production instance to source control: The sub-production instance must have network access to one or more GIT repositories. Each application must have its own dedicated GIT repository. The repository user credentials must grant developers read and write access to the repository. Note: All application developers on the instance share a single set of credentials per repository. After linking an application to source control, application developers can use Studio to manage the repository. From 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 Source control integration does not support managing applications on a production instance. Instead, manage applications on a production instance using the application repository, an update set, or the ServiceNow Store. ServiceNow does not support modifications to the files in an application git repository outside of an instance. To prevent this, the system generates and adds a checksum.txt file to the git repository. If a file is modified outside of the instance, an error message similar to the following appears when attempting to import from source control: checksum.txt is missing or contains an invalid checksum. Ensure your repository contains a valid, unmodified source image exported by an instance. If you receive this error, revert to an earlier commit by following the instructions in the README.md file. Available source control operationsThe source control integration primarily supports operations from Studio, but can also support some operations directly from the GIT repository.Link an application to source controlLinking an application to source control allows application developers to manage changes from a GIT repository.Import application from source controlImport an application from a source control repository to continue developing it on this instance.Apply remote changesApplication developers can pull changes from a linked GIT repository to apply remote changes to the local instance.Commit changesApplication developers can commit all current changes on the instance to the linked GIT repository.Stash local changesApplication developers can remove and save changes locally to apply them later.Manage stashesApplication developers can apply or delete stashed changes from Studio.Resolve conflictsApplication developers can choose which application file version to use when applying remote or stashed changes.Create branchApplication developers can create a branch to work on a new version of an existing application.Switch branchApplication developers can switch to a different repository branch to work on another version of the application.View commit historyApplication developers can view the commit history of applications linked to a source control repository.