Add code to template to initialize git and to commit all changes after the template is run