git undo comflicted merge

C++
git merge --abort
Source

Also in C++: