Walk Git history to calculate commit size in bytes.