As a Google Engineer, I can assure you that nobody who interviews you will give a damn about your code in github. [...] it might be the absolutely horrible way to interview candidatesIt works as long as majority of the CS population dreams of a Google job. There are so many candidates that having a high false negative rate really doesn't matter. However, as Google slowly becomes less popular, it's current interviewing procedure might not work anymore.
I think that having high-quality open source project is a reasonable indicator of a person's technical abilities. For companies with a smaller stream of candidates, it would be silly to ignore such sources of information.
By the way, I am always surprised how obsessed people are trying to get into Google. After some persistent bugging, I went through a phone interview. I was invited for a follow-up interview, but decided that they could not offer the kind of position I was interested in. (No, I don't want to work 18 months in site reliability engineering when my interest lies with natural language processing.)