templates / branches--on commit hex: make wraparound of the index into ring-buffer explicit (bb84735)
   1: this is just to ensure the directory exists.