I think peer-reviewed publications measure something closer to "sprint points closed" or "major releases shipped" than commits (because you can break commits nearly arbitrarily small, where a too insignificant paper will fail peer-review).
A primary purpose of an academic researcher is to contribute to the field via research, largely measured by accepted publications where they are the first (did most of the work and writing) or last (group leader/principal investigator) author.
A primary purpose of an academic researcher is to contribute to the field via research, largely measured by accepted publications where they are the first (did most of the work and writing) or last (group leader/principal investigator) author.