The woman went tooo far and over stepped boundaries. She should have never walked into your garden without being invited. Most people have common sense not to do that. Especially is it is a stranger!
you had every right to react the way you did. That is your property. i'd feel threatend too if A stranger did that to me. Of course you had every right to become defensive!