title: How do you revert a git file to its staging area version?
body: <p>Let's say I have a file named <code>a.txt</code>. I add it to the staging area, and then I modify it. How could I return it to the way it was when I added it?</p>