GitHub repository not listing in Google search

If you give some time to Google it will reflect in google search
Make sure to use better key words in your github ReadMe and title,tags of repo to make it more visible See this for an Example: https://github.com/anupama513/Tk102-gps-data-parser-nodejs-server


That repo seems to have been created less than an hour ago.
Give Google a little time to parse the new repos, and it should show up.

Note that it is referenced by GitHub search already:

https://github.com/search?utf8=%E2%9C%93&q=RoboSpice-Extn-Retrofit-Tutorial

As the OP used the Webmaster Tools to submit its url, the repo is now indexed in Google.


Update 2019: the section "Enabling GitHub Pages to publish your site from master or gh-pages" is now (since 2014) more precise:

To select master or gh-pages as your publishing source, you must have the branch present in your repository.
If you don't have a master or gh-pages branch, you can create them and then return to source settings to change your publishing source.

Once the correct branch is created/populated, and selected as the publishing source, the Google indexing seems to be very quick.


When GitHub auto-generate your page, you get only the _config.yml file and not the html files. So if you want to keep the default page and not write html yourself, you have to:

  • Find the original template from the theme's repository, for the slate theme the template is https://github.com/pages-themes/slate/blob/master/_layouts/default.html
  • Create a folder named _layout
  • Create a file called _layouts/default.html
  • In the default.html copy and paste the contents of the template
  • Follow klues post and generate your <meta name="google-site-verification" content="..."> tag
  • Add the meta tag to default.html

This is how I managed to get at least my github pages-page to be found on Google:

  1. go to google search console https://search.google.com/search-console/
  2. add new "property" with "URL prefix" as suggested
  3. add the meta tag on your github-pages site (html-head) as described, looks like <meta name="google-site-verification" content="...">
  4. paste your page URL to the "search bar" on the top of the search console and press <Enter>. Important: use full path to page, including the .html page, e.g. https://<user>.github.io/<your repo>/demo/index.html
  5. Click on "request indexing"

I first only did points 1-3 with the URL https://<user>.github.io/<my-repo>/demo/ and the page still did not show up after waiting for a month. However after doing points (4) and (5) my github-pages site immediately showed up in the Google search results.

edit: one day later also the github repository showed up on Google search (but maybe only because I link the original repository in my github-pages site).