Mid Version Control Undo changes? (Duplicate of #18) git restore <file> (unstage/discard working dir changes), git reset HEAD <file> (unstage).