templates / branches--on commit Make sure get_sha1 does not accept ambiguous sha1 prefix. (99a19b4)
   1: this is just to ensure the directory exists.