This may be stating the obvious, but GitHub streaks and commit counts are warped measures of productivity. You may work for months on a high-impact feature that results in only a single commit.
Use metrics to motivate yourself but don’t feel the need to compare them to others’.