how to undo file to git add code example Example: undo git add but keep changes git reset -- FILE_NAME