templates / branches--on commit git-commit: initialize TMP_INDEX just to be sure. (c8f2032)
   1: this is just to ensure the directory exists.