git undo stage

C++
git reset HEAD file_pathgit reset <file>
git reset

Source

Also in C++: