Skip to main content

Section B.4 The Branch Tree Diagram (Network Graph)

Scattered throughout the book are various tree diagrams (created by me) depicting example branch pathways. Of course, these are highly variable depending on how many branches you have, commits you make, and contributors there are.
Turns out, GitHub actually makes a graph of your branches for you, as you create, push, merge, and delete them. This is visible on all public repos. To get to this graph, visit the Insights tab and then the Network page from the left sidebar. And there it is! It might not look very exciting, depending on your workflow. Consider the one for this book as of May 2022 in Figure B.4.0.1.
Branch diagram for this book. Mostly a straight line (main branch) with small projections coming off and coming back in (branches and merging).
Figure B.4.0.1. Network graph for this book (as of May 2022)