Still, as a counterpoint of how this can be fun: When a fellow programmer left the company where I work, the CTO created a small video of the evolution of the services/code based on his commits during time. You could see the different repos popping up and showing his contributions to each during time and growth. Also, since he is (or was) a smoker, he got a zippo engraved with the number of commits and lines of code contributed. Does it mean he was good? He was bad? He did a lot? He did nothing? Noup. Of course, he worked for 5 years in the company, so it was a way to show to him that he contributed a lot and was part of the growth/existence of it, not if he was the most valuable programmer in the team. If you ask me, maybe many of the lines he commited doesn't exist anymore in the current code, still it was a snapshot of what he was for the team and company at that point. And the value was not on the code, but on being part of the team and the process of a company growing.
You can do whatever you want with stats, it's in you if its for good or not.