unmerge branch git code example
Example: how to unmerge branch in git
git reset --merge <merge-commit-hash>
# or
git reset --hard <commit-before-merge>
git reset --merge <merge-commit-hash>
# or
git reset --hard <commit-before-merge>