templates / branches--on commit get_sha1: warn about full or short object names that look like refs (798c35f)
   1: this is just to ensure the directory exists.