Overview
To move staged changes back out of the staging area without discarding the working-directory edits, use:
git reset
After reset, the files remain modified, new, or deleted in the working directory, but they are no longer selected for the next commit.
This is useful when a broad add command included too much or when you want to reorganize the next commit.