Make creation of git_template dir sync.