templates / branches--on commit rename read_replace_refs to check_replace_refs (afc711b)
   1: this is just to ensure the directory exists.