# Update connected git repository

{% hint style="danger" %}
By updating your git repository, Paradime will lose the authorization to your previously connected git repository. If you proceed, you will need to:

* Re-authenticate your Git repo
* Re-upload the new deploy key
  {% endhint %}

### Step-by-Step Guide

#### Phase 1: Disconnecting Current Repository

1. Click on Settings (⚙️) from the Paradime home screen
2. Select "Workspace" from the Workspace Settings
3. Click "Edit Repository" in the Git Connections Section
4. Proceed with Caution: Read the instructions and type "Disconnect" in the provided field

<figure><img src="https://2337193041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHET0AD04uHMgdeLAjptq%2Fuploads%2FEPs6Y3zVTGdQ0kAKBwHc%2Fimage.png?alt=media&#x26;token=fbb884af-a6ad-4787-8341-4b54bb5cadb8" alt="" width="375"><figcaption></figcaption></figure>

#### Phase 2: Connecting New Repository

{% hint style="info" %}
The following steps use GitHub as an example. The process is similar for other Git providers.
{% endhint %}

**In Git Provider:**

1. Go to your project repository
2. Select the "Code" dropdown
3. Copy the SSH key

**In Paradime:**

1. Click on Settings from Paradime
2. Select "Workspace" from the Workspace Settings
3. In the Git Connections section, Click "Edit Repository"&#x20;
4. Paste the SSH key in the "Repository SSH URL" field
5. Copy the new generated Deploy Key

**Back in Git Provider:**

1. Navigate to repository Settings
2. Select "Deploy Keys"
3. Create a new Deploy Key
4. Paste the Deploy Key from Paradime
5. Enable "Allow Write access"

**Complete Setup in Paradime:**

1. Click "Save" to update your repository

{% @arcade/embed flowId="4Sz5ws2Xz8n5UrHsgImb" url="<https://app.arcade.software/share/4Sz5ws2Xz8n5UrHsgImb>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paradime.io/app-help/documentation/settings/git-repositories/update-connected-git-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
