templates / branches--on commit dir: convert to strbuf (49dc2cc)
   1: this is just to ensure the directory exists.