You can search for designated private repositories on GitHub Enterprise Cloud from your GitHub Enterprise Server instance. For more information about searching across environments, see "About searching on GitHub."
An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and unified search for private repositories. For more information, see "Enabling unified search for your enterprise."
Sign into GitHub Enterprise Server and GitHub.com.
On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click GitHub Connect.
Click Connect to GitHub.com.