Supported as of git 2.28. The previous approach of using a template
directory would work on a wider range of older git versions, but it
would result in git not creating any files/directories (like hooks/)
in a repo's .git directory e.g. after clones or initializations.