templates / branches--on commit checkout: respect GIT_REFLOG_ACTION (3bed291)
   1: this is just to ensure the directory exists.