what if i switch to a branch that is 6 commits back and commit there changes from other branch code example
Example: move a branch back in git
git checkout A
git reset --hard B
git push --force github
git checkout A
git reset --hard B
git push --force github