templates / branches--on commit decode file:// and ssh:// URLs (9d2e942)
   1: this is just to ensure the directory exists.