I can't speak for where you live, but being a student is a full-time job here.
And your last statement makes no sense. If you don't expect students to work after work, then don't follow it up with the remark that you'd see them jobless.
I agree - I had less free time as a student than I do as an average adult with a full time job.
When I was at University all my spare time was taken up by running a student media outlet, playing sports, and volunteering my time to student run services.
I would argue that all of these things have been much more helpful when finding work and interviewing than having Github commits.
And when I'm the interviewer, I certainly don't care how many Github commits someone has. If a new grad can't show me that they have experience working in a team of some description then it isn't going to work out.
I don’t expect students to code outside of class. But I also believe students who don’t code outside of class shouldn’t expect to get a job just because they have a CS degree.