templates / branches--on commit sha1_name.c: add support for disambiguating other types (daba53a)
   1: this is just to ensure the directory exists.