This blog tipped me off that if the path to the template file is not absolute, then the path is considered to be relative to the repository root.
git config commit.template /absolute/path/to/file
or
git config commit.template relative-path-from-repository-root