# 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>" %}
