Create a branch from A and then merge the changes of the with qa-test
and development
.
$ git merge-base qa-test development
sha-1 A
$ git checkout -b hotfix <<sha-1 A>>
... do changes and commits
$ git checkout devel
$ git merge hotfix
$ git checkout qa-test
$ git merge hotfix
$ git branch -d hotfix