templates / branches--on commit read-tree -m -u: avoid getting confused by intermediate symlinks. (16a4c61)
   1: this is just to ensure the directory exists.