First give the branch solid and jumpthru behaviors.
Then, let the branch decide whether its jumpthru or solid behaviors are active.
If the branch is above the player, then set jumpthru to enabled, solid to disabled.
If the branch is below the player, then set jumpthru to disabled, solid to enabled.
I hope this is what you were looking for.
www (dot) dropbox (dot) com/s/ymdigrg2cqzizmh/Tree%20Jump%20Platform.capx?dl=0