templates / branches--on commit Avoid segfault with 'git branch' when the HEAD is detached (45e2b61)
   1: this is just to ensure the directory exists.