bot exporting to external Git repository (for Github, for example)
bot importing from external Git repository
Go to Bot->Edit-> show Advanced
Go to Bot-> Sync in menu, then Git Sync -> Deploy Key show
Copy Deploy Key
Now you need set this Deploy Key on external repository.
Please see this. For Git exporting also need "write" access.