git init to the Git directory/repository. --template=<dir> of git init
$GIT_TEMPLATE_DIR environment variable
init.templateDir option
/usr/share[/usr/share/git-core/templates (Windows: <git-install-root>\mingw64\share\git-core\templates).