Here are some keys when trees are in your way. The first key is to pick a club that won’t hit the tree. Know if you have the right club by laying it down on the ground pointing underneath the tree and simply step on the clubface. The grip will rise up off the ground and you can look at that angle. The grip should go in the middle of the ground and the tree. Don’t try to hit it low by taking your normal golf swing and hinging your wrists a lot and hitting it hard. Hard swings create spin and spin makes the ball rise.
The second key is to pick a spot out in front of me to aim over that goes directly under my opening. Set up with the ball is back in your stance, leave your weight forward, and don’t hinge the wrists.