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.