git revert last commit in particular branch code example
Example 1: revert git commit
git revert <the_commit_hash>
Example 2: get back some commits git
git revert {commit_id}'
git revert <the_commit_hash>
git revert {commit_id}'