templates / branches--on commit rebase: extract am code to new source file (46df82d)
   1: this is just to ensure the directory exists.