Unstage A Single File
If you've added a file using git add but haven't committed it yet. You can unstage it using the following command.
git reset HEAD a.txt
Unstage All Staged File
All staged files will be unstaged. Meaning they'll go back to the modified or untracked state.