title: Moving the Git Repository to a Child Folder
body: <p>I'm using Github with my Wordpress website.</p>
  
  <p>Currently it tracks the parent Wordpress folder, which essentially tracks everything. </p>
  
  <p><a href="https://i.stack.imgur.com/96zv0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/96zv0.png" alt="enter image description here"></a></p>
  
  <p>I'd like it instead to have a git with only the theme, which is located at <code>wp-content/themes/lighthouse</code></p>
  
  <p>Is there a simple way to have this repository only be the theme rather than everything in Wordpress? Without having to make a new repository?</p>