templates / branches--on commit push: further clean up fields of "struct ref" (5ece083)
   1: this is just to ensure the directory exists.