Edit a Git repository configuration in ServiceNow Studio

  • Release version: Australia
  • Updated May 7, 2026
  • 1 minute to read
  • Edit a Git repository configuration in ServiceNow Studio to update the network protocol, credentials, or other connection details.

    Before you begin

    Role required: admin

    Procedure

    1. Navigate to All > App Engine > ServiceNow Studio.
    2. In the file navigator, select the application you want to open.
    3. Select App details to open the app in the canvas.
    4. Select Source control > Edit repository configuration.
      Edit Repository Configuration menu item
    5. Update the fields you want to change.
      Table 1. Repository configuration fields
      Field Description
      Network protocol Protocol for source control: HTTPS or SSH.
      URL The URL of the Git repository.
      Branch The current branch for the repository.
      Connect with a MID Server Whether or not to use a MID Server connection, which enables access to repositories behind a firewall.
      Note:
      If you have no MID Server name, select a new one from the drop-down list. If you select a new MID Server, apply the change in the Source control menu before performing any further source control operations to avoid errors.
      Default email The committer email address, taken from the sys_user record when available. If a committer's sys_user record email field is empty, the system generates an alternate email address (username@instancename.service-now.com). Enter a default email address to use when no sys_user email is available. To use the default email address in all cases, select Always use this email for commits from all developers.
      Credential The saved credentials to use for the source control connection. All application developers on the instance share a single set of credentials per repository. For more information about working with credentials, see Get started with credentials.

      View and edit application repository configurations.

    6. Select Save.
      The repository configuration is updated and the new settings apply to all future source control operations for this application.