templates / branches--on commit ls-remote and clone: accept --upload-pack=<path> as well. (ae1dffc)
   1: this is just to ensure the directory exists.