There seems to be a weird inversion in the minds of many commenters here: that they are somehow entitled to dictate the terms under which they are selected to work somewhere.
Isn't the point that if you want the job, you do whatever it takes?
Why are we not celebrating the fact that we work in a kind of meritocracy where it really is possible to showcase your skills without any credentials or reference to your past?
All of this bloviating about "wasted time" in the context of demonstrating skills reeks of bitterness from lost opportunities to me.
People who refuse to do that are only hurting themselves.
If an employer passes on candidate for the wrong reason then the employer is hurt as well. A good hiring process shouldn't rule out people for reasons that aren't related to their capability to do what they'll need to do in the job, and very few jobs require a good github profile. It's a useful proxy for development ability and passion, but that's all. You can be an awesome developer and never touch Github.