How removes a single file from the staging area of Git but not remove it from the index or undo the changes to the file itself
git reset HEAD <file>
#"undo" the git add that was done for that file.
#Your modifications will be kept. When you run git status the file will once again show up as modified but not yet staged