Maybe this can be of help. (There’s more if you search for “branch” on the forum)
Also, use the randomtest with this tool to find the max/min of your stats at a given point to know in what range to set your checks. Pretty useful when you start to advance in your game and calculating stats in a specific branch becomes a hassle.
I would also recommend limiting yourself on the branching, which can get out of hand really quickly if you don’t have it in check. And ideate, plan, and restrict the mechanic your game is going to use so it doesn’t become uncontrollable. You can have some leeway of course, but if every stat change can lead to an innumerable amount of consequences you should probably dial it down a bit.