Sculpting Git branches into various shapes and trees is an art. This tag is for all questions that involve sculpting and pruning commit trees into different forms.
The keys to understanding how to sculpt Git branches are the following:
Git is just a tree of commits, with bookmarks (or Post-it notes) attached:
The final state of a series of commits can be made to be equivalent to squashing (rebasing) or merging those commits.