templates / branches--on commit refs: store references hierarchically (432ad41)
   1: this is just to ensure the directory exists.