Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes.

git revert <commit>

latest projects