I have a github page, username.github.io. I'd like to make the webpage itself public so everyone can see it and it will be picked up by Google search, but I'd like to have the repository where I make the changes itself private (github.com/username/username.github.io).
Also, there is a nuance between the webpage appearing and search engines finding it: Even if the repository is private, the webpage itself is public (username.github.io goes to a link) and will work. However, Google/other search engines can't find it.
Is it possible to have my repository private and still have Google find it?