It has always been pain to create boilerplate code before kicking off a new project, and tools like npm, angular cli, rails...  provide init commands to create a very generic code structure which are universally accepted, but may not be sufficient for you, as most often we configure our apps with certain basic settings which are specific to an Organisation.

Bootstrapping a new project using a predefined template is often what programmers are asking to make them more efficient and have to do less manual configuration.

On June 6, 2019 Github launched a repository templates to make boilerplate code management and distribution a first-class citizen on GitHub.

Below is the gif from official github blog

With this new tool you can mark any repository as template and then can use this template as boilerplate code to create new repositories.

you can follow to know more.

Overall this is really nice feature and Github is planning to do it for issues and pull requests as wells. Imagine a template for pull request and creating a new issue, this is going to change the world!!!