title: GitHub - template repository to copy settings and labels
body: <p>I really liked the feature <a href="https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-template-repository" rel="nofollow noreferrer">GitHub Template Repository</a> where according to the documentation </p>
  
  <blockquote>
    <p>After you make your repository a template, anyone with access to the repository can generate a new repository with <strong>the same directory structure and files</strong>. </p>
  </blockquote>
  
  <p>What I also want to accomplish is to copy the the labels and settings of the template repository. This would ease processes and bring in standardisation. </p>
  
  <p>Following could be the possible settings which I would like to be inherited from template repository</p>
  
  <ul>
  <li>Disable <code>Allow merge commits</code> </li>
  <li>Rule of master branch i.e. <code>Protected branches</code> </li>
  <li>GitHub pages source should be <code>master branch /docs folder</code></li>
  <li>Activate <code>After pull requests are merged, you can have head branches deleted automatically</code></li>
  </ul>
  
  <p>Have you tried this ? If yes, how were you able to do it ?</p>