Script to generate git history