templates / branches--on commit symbolic ref: refuse non-ref targets in HEAD (afe5d3d)
   1: this is just to ensure the directory exists.