---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/application-development

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Clone a Git repository

# Clone a Git repository with the ServiceNow IDE {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Clone a remote Git repository to collaborate on applications in source control with the ServiceNow IDE.

## Antes de Iniciar

* Create a workspace for your applications. For more information, see [Create a workspace in the ServiceNow IDE](https://servicenow-prod.fluidtopics.net/uRgK8LMq32KHUsQgoHY3Mw "Create a workspace to view and organize the applications you're working on in the ServiceNow IDE.").
* Set your basic or OAuth 2.0 credentials for the ServiceNow IDE to connect to your Git repository. For more information, see [Connect to a Git provider using basic authentication with the ServiceNow IDE](https://servicenow-prod.fluidtopics.net/~gxgcmkV4s6RE0ZimPxK8Q "Connect to a Git domain or repository using basic authentication credentials to manage applications in source control from the ServiceNow IDE.") or [Configure OAuth 2.0 credentials to connect to a Git provider with the ServiceNow IDE](https://servicenow-prod.fluidtopics.net/J234vxOnSzizT9Rzo467Fw#authenticate-git-repository-oauth "Connect to a Git domain or repository using OAuth 2.0 credentials to manage applications in source control from the ServiceNow IDE.").

{#clone-git-repository-servicenow-ide__ul_mcx_tgm_dcc}

Role required: sn_glider.ide_git_user or admin

## Por Que e Quando Desempenhar Esta Tarefa

You can clone a remote Git repository that contains applications created or converted with the ServiceNow IDE or ServiceNow SDK. The repository must contain one or more applications with now.config.json and package.json files.The repository must contain an application with now.config.json and package.json files in the base directory.  
Nota:  
ServiceNow IDE supports cloning from Git servers on Git version 2.3.2 or later.

Cloning is intended for developing an application on multiple non-production instances and managing it in a single repository. To publish an application and deploy it to a production instance, use the Application Repository. For more information, see [ServiceNow application repository](https://servicenow-prod.fluidtopics.net/apKZle1m7VYjJA7qSzDrAQ "After you develop and test a custom application, you can make the application available to company instances by publishing it to the ServiceNow application repository.").

## Procedimento

1. Navigate to AllApp DevelopmentServiceNow IDE.
2. Open a workspace to which you want to add the application.
3. Use one of the following keyboard shortcuts to open the command palette:  
   * Windows: Ctrl-Shift-P
   * Mac: Cmd-Shift-P
   {#clone-git-repository-servicenow-ide__ul_j4x_ns4_gcc}
4. Enter <kbd class="ph userinput">Git: Clone</kbd> and press Enter.
5. Enter a remote Git repository URL and press Enter.

## Resultado

The application is added to the instance and your workspace with the files from the remote repository. Only the default branch is cloned initially. To check out another branch, you must fetch the other branches from the remote repository using the <kbd class="ph userinput">Git: Fetch</kbd> command from the command palette.
Nota:  
If you encounter issues after cloning an application, you can run the <kbd class="ph userinput">Fluent: Reset Application</kbd><kbd class="ph userinput">Synchrotron: Reset Application</kbd> command to remove source files in the application (not application metadata) and re-clone the application.

## O que Fazer Depois

You can check out or create branches in the repository and push changes to the remote repository. For more information, see [Using source control in the ServiceNow IDE](https://servicenow-prod.fluidtopics.net/wuVT2O8rJHm6dOJQWV1BUQ "Use Git commands and other source control features in the ServiceNow IDE to manage changes to an application across a development team.").

