git apply changes from one commit onto another branch
In my case I needed to apply the changes of specific commits of another branch. I did that by cherry picking them like so:
git cherry-pick COMMIT-HASH
.
Yes:
git checkout -b mergebranch B
git cherry-pick D