Przesuń gałąź z powrotem w Git

git checkout A
git reset --hard B
git push --force github
Important Ibis