templates / branches--on commit completion: let 'for-each-ref' strip the remote name from remote branches (e8cb023)
   1: this is just to ensure the directory exists.