templates / branches--on commit replace-object: check_replace_refs is safe in multi repo environment (c3c36d7)
   1: this is just to ensure the directory exists.