templates / branches--on commit tag.c: use 'ref-filter' APIs (b7cc53e)
   1: this is just to ensure the directory exists.