Codes implemented in Datagran can be stored internally or externally. By default, you will be working with internal repositories to store information. However, in order to have full control over the ownership of the codes, an external repository can been implemented. To migrate from an internal repository to an external one, you can follow these steps:
Create a new repository in Github
Clone the code in the terminal from the existing code
git clone <https://github.com/nameOfRepo/pipeline-name--operator-name.git
cd pipeline-name--operator-name/
cp -r ../src/* .
git add .
git commit -m "Migrating files from the internal repository"
git push origin main
Destroy the current virtual machine and switch to "use an external repository of my choice"
Add the SSH in the "EXTERNAL REPOSITORY" box and copy the Public key to Github