Git: Howto move changes since last commit to a new branch
If the changes are staged or your working directory, you can simply checkout into a new branch like so:
git checkout -b branch_name
You can then commit directly into the new branch.
git stash
git checkout branch-A
git stash pop