templates / branches--on commit mv: combine two if(s) (dcadc8b)
   1: this is just to ensure the directory exists.