Circular collision detection

I have a program with trees that require me to calculate for collision detection. I can get how to detect if I’m touching the tree, but my problem is to make it so if I try to move even at an angle I don’t get stuck. I am trying to make it so you would be able to run along a row of trees while looking at them like in games. Does anybody have any ideas?