in my version control I have:
branchA was checked out from master and branchB was checked out from branchA:
master -> branchA -> branchB
Questions:
Merge branchA
into branchB
would bring you the changes from branchA
to branchB
:
git checkout branchB
git merge branchA
With git log
you can see your commit history in the terminal and also the origin/emergence of all branches. Have also a look in this question.
Another approach is a Git GUI-Client that visualizes a nice Git history tree by default, giving you a simple overview.
To find a suitable Git GUI-Client, see this documentation.