title: What is the best way to copy everything from staging/index area to working directory?
body: <p>Suppose I have some changes in my working directory and then I stage all of these changes. Let's call this <strong>state-1</strong>.</p>
  <p>Next, I make some more changes to my working directory. Now, how do return to <strong>state-1</strong>? Is there a standard/simple command to do this?</p>
  <p>This <a href="https://stackoverflow.com/questions/64358193/copying-files-from-stage-to-working-directory-in-git">question</a> is very similar but no standard/definite answer on how to actually do it. The closest thing I have found is:</p>
  <pre><code>git restore .
  </code></pre>
  <p>But this command is still experimental, and its behavior may change(<a href="https://git-scm.com/docs/git-restore" rel="nofollow noreferrer">source</a>). So what's the right way to do this?</p>