messing about with git stats from api