i'm not familiar with either goats or trees other than at a bit of a distance and knowing them as excape artists who liked to show up on my porch because i would feed them carrots.

then i would call the landlord to come get his goats.
in my readings about people trying to re-establish forest lands and fruit and nut trees on open lands that were over-grazed they would keep the goats in a smaller enclosure and harvest the forage for them instead of letting them free range and this gave the ground a chance to get covered again and for them to grow the fruit and nut trees they wanted. it did mean they had to do some work each day to keep the goats fed.
in planting a mixed tree cover plot they would start with the fastest growing nitrogen fixing trees that would help shade and give forage for the animals, then they could plant vegetables between the trees when the trees were small and then as the trees grew taller they could chop some of them to thin them and let in more light and also the choppings went to the animals.
if they needed to clear a field of overgrowth brush they could use chickens and goats to do that and then start the whole cycle all over again. it is a very good use of land because it keeps it mostly covered and with some shade and protects the topsoil from heavy rains and also keeps some plants around for diversity and feeding the bugs, birds, bees.