templates / branches--on commit git: simplify environment save/restore logic (441981b)
   1: this is just to ensure the directory exists.