add post generation hook to initialize a git repo