templates / branches--on commit git-checkout: improve error messages, detect ambiguities. (859fdab)
   1: this is just to ensure the directory exists.