templates / branches--on commit am: refresh the index at start and --resolved (2a6f08a)
   1: this is just to ensure the directory exists.