You can edit a Git repository to change the network protocol selection, credentials or other field entries.

Before you begin

Important: You've landed at the legacy version of Studio, which will be supported until the Australia release in Q1 2026. Try building and editing apps in the new version of ServiceNow Studio instead. For more information, see Building applications with ServiceNow Studio.
Role required: admin

Procedure

  1. In Studio, select Edit Repository Configuration.
    Edit Repository Configuration menu item
  2. Choose https or ssh Network protocol and enter the URL address of your repository.
    Choose the http network protocol Choose the ssh network protocol
  3. Change your credential or MID Server name if you wish.
    Note: If you have no MID server name, you can select a new one from the drop-down list. If you choose a new MID server, Legacy - Apply remote changes in the Source Control menu before making any further Source Control operations to avoid errors.

    For the default email field, the committer email address is defined by the sys_user record if available. But if a committer's sys_user record email field is empty, the system generates an alternate email (username@instancename.service-now.com). You can also enter a default email address and change it later. To use that default email address in all cases, select the check box.

  4. Click Save.