git merge --abort # abort merge conflict
git switch -C <new branch name> # creates and pickes new branch
git reset --hard HEAD~1
git reset --hard <id of the commit> # to reset change
git revert HEAD
git revert HEAD

![[Pasted image 20240913175349.png]]

Reference: