Its not that I'm not working, just that most of the stuff I do I tend to either cleanup and squash commits for, or they tend to be very much research project type deals that sure I can commit something but most of the time it would end up as: "this didn't work", "neither did this".
I'd love to commit something meaningful every day but honestly can't be arsed most of the time. If I'm sitting there at a serial terminal figuring out why I can't boot on an arm board, what silly thing should i commit? I have org notes that document that stuff, commits are for semi useful things not a measure of work/worth.
I don't find it particularly discouraging. It's not something that anybody should be taking seriously. The streak measure is the least useful but, frankly, all the GitHub measures are of rather limited value.
StackOverflow does a much better job of putting relevant information in the public profile, though admittedly they have the benefit of a voting mechanism that helps point out what things you did were actually useful.
Everybody doesn't have to live in a bubble-boy world with all their beautiful feelz.