templates / branches--on commit "core.sharedrepository = 0mode" should set, not loosen (5a688fe)
   1: this is just to ensure the directory exists.