Follow these steps to export a repository from Google Cloud Source Repositories to GitHub:
1. Create a repository in GitHub, e.g. https://github.com/octocat/my-repo
. This will be the target repository.
2. Clone the original repository from Google Cloud Source Repositories:
git clone --bare ssh://EMAIL@source.developers.google.com:2022/p/PROJECT_ID/r/REPOSITORY
cd REPOSITORY.git
3. From the cloned repository directory, push the repository to GitHub:
git push --mirror https://github.com/octocat/my-repo.git