I'll emphatically second the advice already given here: GET OUT OF THE TREE.
It's true that most of the electrical current flow in a lightning stroke will be along the path of least resistance. The catch is where that path comes from, and the fact that multiple paths often form. Air, even wet air, is a pretty good insulator, and part of how lightning bolts form is by ionization of the air in a channel. Basically, the electrons are blasted off of the atoms by electrical energy, and once that happens the resulting plasma is a much better conductor. That ionization channel forms fast, and where it forms is pretty unpredictable.
Then there's what happens to the tree. In most species most of the time, the electricity will discharge through the cambium or along the surface of the bark, because these are very wet (guys who studied the interaction of pine bark beetles and lightning simulated lightning effects by wrapping detonator cord around tree trunks and blasting the bark off). But if much current moves through sapwood or heartwood it'll blow the tree up, as Leon points out.
As an aside: There's a common misconception that cars are good places to be in a lightning storm because the insulating qualities of the rubber tires prevent grounding of the current. Not so. Cars are good places to be in a lightning storm because the metal frame conducts any strikes around you instead of through you - the frame makes a pretty good "Faraday cage". I suppose you could hoist a heavy metal cage up into the tree and be reasonably safe in a storm - provided the lightning didn't melt the rope/webbing holding the thing up or blow the tree into splinters.
Count me a coward on this one. John Muir apparently liked to climb big trees in thunderstorms and I'm sure it was a rush, but I don't like to lean on my luck that hard.