gitstats: Modified test-lib.sh to use ~/code/git as git dir.