I have a BranchA. I did the modifications on BranchA, and wrote a decent comment on it. Then I realized I should do it on a new branch. So I built a new BranchB based on BranchA.
git checkout -b BranchB BranchA
BranchB has all the changes made in BranchA. But BranchB can be pushed, because BranchB has "nothing" be changed from BranchA.
How do I push BranchB to origin BranchB
?