Add code to template to initialize git and to commit all changes after t...

...he template is run