title: Share publically a part of a private repo on Github
body: <p>I'm wondering what's the best way to publically share on Github a file that's on a private repo on Github. </p>
  
  <p>I would like thet every time a make a push in my private repository automatically the file is updated too.</p>
  
  <p>In particular I have a .tex project: I would like to keep secret the tex files but I would like to make available to everyone the pdf file.</p>
  
  <p><strong>Note</strong> I'm aware of the existence of the gitignore option, but I don't want to use it since I want to keep track of the improvements on the tex files</p>