git rollback to specific commit in branch code example
Example 1: revert git commit
git revert <the_commit_hash>
Example 2: git command change to previous comit
git reflog
git checkout HEAD@{...}
git revert <the_commit_hash>
git reflog
git checkout HEAD@{...}