More than what? The highest earning programmers I know have never heard of github and would never consider using it.
You will be a better developer if you code more. You will be exposed to more languages, tools, people, and ideas.
You will be a better developer if you deliver more. "More languages, tools, people, and ideas" can just as easily dilute your focus as improve your skill. To get better, you must focus on results, not activity.
If you don't code in your spare time, but you are happy where you are,
Why do you assume these 2 are mutually exclusive? I know lots of excellent programmers who deliver more before noon than most deliver all week. Nothing wrong with being excellent during working hours and doing something else in your spare time, like perhaps, enjoying your spare time.
If you want to be a better developer more than anything, then you should code. If something is stopping you from doing that, remove the blocker.
If you want to be a better developer more than anything, then you should deliver production quality software. Sometimes the "blocker" is a distraction. Distractions can be other things that masquerade as "side work".
Personally, I don't hire anyone if I can't see code samples. 95% of the people I hire have their code samples on Github (not in a .zip file). So make sure you have some code samples available, but it doesn't have to be a side project or open source work.
Personally, I never show code samples. I'll gladly go through the right company's process, including coding for them. But they don't get to see anything I've ever done before out of context and without proper permissions. And personally, I will never work for anyone with hard and fast rules about hiring. 3pt14159 is choosing to not consider many of the best programmers who refuse to show their underwear. His loss.