templates / branches--on commit branch: split off function that writes tracking info and commit subject (6e0332e)
   1: this is just to ensure the directory exists.