undo git add but keep changes

C++
git reset -- FILE_NAME
Source

Also in C++: