templates / branches--on commit Fix gitdir detection when in subdir of gitdir (72183cb)
   1: this is just to ensure the directory exists.