templates / branches--on commit setup_git_env: use git_pathdup instead of xmalloc + sprintf (a0279e1)
   1: this is just to ensure the directory exists.