templates / branches--on commit git: treat "git -C '<path>'" as a no-op when <path> is empty (6a536e2)
   1: this is just to ensure the directory exists.