Have following branches structure:
master
/ \
BranchA BranchB
But it should be:
master
/
BranchA
/
BranchB
Could anyone advice how to re-hang BranchB as child of BranchA?
You want to use rebase. With BranchB checked-out, do