Who can see your code on Sourcegraph Cloud
Sourcegraph Cloud protects your private code using repository permissions from GitHub.com and GitLab.com to determine who can see repositories you’ve added to Sourcegraph Cloud.
If a repository is public on GitHub.com or GitLab.com, other users on Sourcegraph Cloud can view and search across that repository. The repository will appear in the global search context.
Private repositories (Public Beta)
If a repository is private on GitHub or GitLab, only users who have permission to access that repository on the code host and have added that repository to Sourcegraph Cloud, you can view and search that repository. The repository will not appear in search results for other users.