git diff <commitA> --name-only
git rm <pathname>
git checkout <branchname>
git merge <branchname>
git branch <branchname>
git branch --unset-upstream