templates / branches--on commit prompt: factor out gitstring coloring logic (18562ad)
   1: this is just to ensure the directory exists.