# Git

![](https://3310729168-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVh0yg9olT-QWqi3AYt%2F-LZsw_SINYsdx2lsMG7A%2F-LZsx6pWoRgaf7g74dm-%2Fimage.png?alt=media\&token=06e7d5c1-fac5-403b-8e38-e9c0ed0b4c98)

## Git support

* Bot exporting to external Git repository. For example, Github
* Bot importing from external Git repository

## Requirements

#### 1. Need set Git repository on bot

Go to Bot->Edit-> show Advanced&#x20;

or:

Go to Bot -> Tools section -> Git sync

![](https://3310729168-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVh0yg9olT-QWqi3AYt%2F-LZsw_SINYsdx2lsMG7A%2F-LZsyAVym85wy-JGNaEx%2Fimage.png?alt=media\&token=bf902faa-9e24-413c-97d3-0787d5231fd8)

#### 2. Need set Deploy Key on external repository

{% hint style="success" %}
You do not need Deploy Key for read access of public repository&#x20;
{% endhint %}

Go to Bot-> Sync in menu, then Git Sync -> Deploy Key show

![](https://3310729168-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVh0yg9olT-QWqi3AYt%2F-LZsw_SINYsdx2lsMG7A%2F-LZszSBi4XIsdiAHzM0d%2Fimage.png?alt=media\&token=0529548f-53ac-4ade-9458-b1c05f89b8a5)

**Copy Deploy Key**

Now you need set this Deploy Key on external repository.

**Github**

Please see [this](https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys). For Git exporting also need "write" access.

#### 3. Now you can make exporting or importing with Git
