templates / branches--on commit bash prompt: combine 'git rev-parse' for detached head (e3e0b93)
   1: this is just to ensure the directory exists.