In this video I show one way of isolating a tree from it's background.
The important takeaway from this video is the layer mask creation and tweaking, not necessarily the fact that it's used on a curves adjustment layer.
Creative Colour Compositing Class
Luminosity Masking Mastery
Dodge & Burn Toolkit
Photoshop 101 Course