To undo a git add, run git reset file or get reset.

git reset filename
git reset 

Run git status to check.

git status