Your question @proc0 did make me think more about the value I've gotten from GH vs. what I've given back - I've signed up for the annual subscription plan as a result of that thought process.
I was thinking that this could be a metric which is given too much importance imho, since it can be hacked, but not necessarily with a script. Deliberately making smaller or redundant commits achieves something similar. Of course a script is at least fun and also good practice.