bot exporting to external Git repository (for Github, for example)
bot importing from external Git repository
Go to Bot->Edit-> show Advanced
You do not need Deploy Key for read access of public repository
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.
Github
Please see this. For Git exporting also need "write" access.