templates / branches--on commit log --grep: use the same helper to set -E/-F options as "git grep" (34a4ae5)
   1: this is just to ensure the directory exists.