On a self hosted gitlab instance, in the web view of a repository it's possible to create a new file. There is also a drop down "Select a template type".
It has entries like .gitignore
and LICENSE
.
Is it possible to define a custom file template? I could not find any mentions of it in the documentation.