bash: git_avg: s/length/lines