You never swerve to keep from hitting animals.
Doing that is the best way to get yourself hurt.
Keep your wheels straight and put on the brakes.
If you hit the animal, you hit it.
But at least your chances of not being hurt are higher.
I have hit a few deer down here in the National Forest, done a lot of car damage, but no injuries to myself.