templates / branches--on commit alternates: provide helper for adding to alternates list (a5b34d2)
   1: this is just to ensure the directory exists.