title: Is there a way to undo "git restore" command
body: <p>I want to undo the &quot;git restore .&quot; command.
  I wanted to pull changes from the origin, and WebStorm notified me that I need to commit all changes before the pull. I restored all changes. And now I remembered that there are changes that need to be committed. So I want to undo the &quot;git restore .&quot; command.
  How can I do it?</p>