title: How can I remove patch files from my Git repository?
body: <p>I'm just learning how to use Git, and somehow by mistake I've patched files and couldn't figure out how to remove them.</p>
  <p>When I type <code>$ git status</code> it shows me the patched files which I don't want.</p>
  <p>I've tried using <code>$ git apply -R &lt;patch&gt;</code> and it still won't work.</p>
  <p>This is what appears when I type <code>$ git status</code> :</p>
  <p><a href="https://i.stack.imgur.com/eIt7g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eIt7g.png" alt="enter image description here" /></a></p>