So the question is, IT recruiters should not exist in first place ?
I personally put more value on blogs and writing than github code because the blog/writing tells you their thought process and what is important to them vs github code which is just some end result.
This post feels more like a childish grudge against recruiters than a genuine question about github as a tool.
Most hiring managers will look at what you give them. Some like portfolios, some like name-brand degrees, some look for publications or parents...the important thing is to keep learning.
People tout GitHub portfolios because the are easy bonus points. If you spend a week learning a new language or framework, you can push your toy project without much extra effort.
There's enough marketing geniuses hijacking other communication channels. Leave it to rest.
Life is too short for me to bother with Github portfolio.