how to take everithing out from the stage in git code example
Example 1: remove file from stage git
git rm --cached <file>
Example 2: git file reset to head
git checkout HEAD -- my-file.txt
git rm --cached <file>
git checkout HEAD -- my-file.txt