I'm going to copy/paste some advice I left on a different thread recently because the same applies here...
"He is growling and lunging because he is scared - I suspect you probably already know that but it's worth being clear that's what's happening.
An immediate way to stop him being so scared is to not allow the thing that scares him to get too close. If you can. In the woods, instead of walking past this dog, in future you might try turning heel and walking back the other way. Or taking another path. Anything to create more distance between your dog and the other dog. If your dog growls or lunges then you are too close and need to give him more space.
The more he is exposed to dogs at a proximity that scares him, the more he will growl and lunge. Every time he growls/lunges and it works (the other dog goes away) he will be more likely to do it again. With a bit of bad luck, he may also try the same tactic against other things that scare him to see if it works.
Alternatively, if he is exposed to dogs at a distance he feels safe and they never get any closer, he may start to relax around them. He may feel safe that they won't get too close and not bother. Over time (lots of time, lots of other dogs) you may find his safe distance gets smaller and smaller, so long as he doesn't have any significant setbacks (scares). That's desensitisation.
You can help this process along a bit by trying to partner other dogs with him getting something he likes, such as food. e.g. He sees another dog at a distance, you get his attention and give him a treat. Repeat this enough and he may start to see the dog and automatically look to you for the treat. This is him starting to learn that other dogs can mean good things for him. That's counter conditioning.
The mechanics of doing all this can be tricky and often owners need help to work out exactly the best way to arrange all this for their dog to get the best result. They also need help to correctly assess any progress to understand if they are helping their dog.
Because they need help, and because not doing anything at all can sometimes cause this reaction to spread or escalate as I described above, a behaviourist to support you is really the best option."
Substitute the he's for she's.