I use Github to store the text of one of my web sites, but the problem is Google indexing the text in Github as well. So the same text will show up both on my site and on Github. e.g. this search The top hit is my site. The second hit is the Github repository.
I don't mind if people see the sources but I don't want Google to index it (and maybe penalize for duplicate content.) Is there any way, besides taking the repository private, to tell Google to stop indexing it?
What happens in the case of Github Pages? Those are sites where the source is in a Github repository. Do they have the same problem of duplication?
Take this search the top most hit leads to the Marpa site but I don't see the source listed in the search result. How?