- Web UI
- CLI
To import a repo using the Web UI, follow these steps:
Choose whether you want to import your entire repo and keep all of its history, or just the latest commit from a specific branch.If you choose to
1
Enable Diversion Sync
Go to the Diversion Sync GitHub App page and follow the instructions to install it.
2
Open the repo selector and choose 'Import Git repository'
Go to your Dashboard, open the repo selector dropdown (top-left), and choose Import Git repository from its footer (alongside Create new repository and Import from Perforce).

3
You'll be prompted to choose your import options

Import all branches with history, you’ll have the option to Enable continuous bi-directional sync.Note
If you need bi-directional sync, please contact us at support@diversion.dev.
4
Enter the url for the repo you want to import
5
Wait for the import to complete
This happens in the background, and depending on the size of your Git repo can take a few minutes.
You will receive an email when the import is complete.

