But programming in your free time will (likely) make you more effective in your job, garner recognition/ place you in a programming community, teach you about new problem spaces, etc.
So while that may not help you move from job to job (I'd argue, however, that it does), it'll help you accelerate your career within a company.
I don't think it's contentious to say that practice will improve your skill, and improving your skill generally leads to a better (by some definition) career.
Personally, I would weight a great GitHub more highly than an interview. But great GitHubs are very rare.
At small companies where you have more wild-west type procedures you can probably get away with saying "Github is good enough", but my experience is that even mid sized companies start to put all of their bags in the interview basket.
But I also put way more in than an extra 2 hours a day.
My feedback from Google was to put more code up on my GitHub (and I already had hundreds of thousands of lines in a major open source project on there.)