title: How to preserve user uploaded content when pushing or pulling with git
body: <p>I have a simple node application that lets a user upload photos that are stored in an <code>/uploads</code> directory.</p>
  
  <p>My issue is that when I <code>fetch</code> or <code>pull</code> with git to grab the latest copy of the app, I also get the latest batch of files the user has uploaded. This is not an immediate problem, but if I were to <code>push</code> changes I made to the app, then the user's uploaded files will be overwritten or erased by whatever was in my local repo. If my local <code>/uploads</code> directory is empty, then so will be the same directory with the live app, even if it was empty before.</p>
  
  <p>Is there a way with git to specify to only <code>pull</code> those user-generated files and  never <code>push</code> them?</p>