well, this is going to be a bit sloppy, but the point is that when you rotate a vector which is tangent to a path by 90 degrees you get a vector which is perpendicular to the path. One theorem is about the component of your vector field which is tangent to the path and the other one is about a vector field which is perpendicular to the path.
so all you have to do to get one theorem from the other is rotate the vector field 90 degrees.
One (of the two possible) rotation of (A,B) by 90 degrees is (B,-A), which accounts for why one theorem has (df/dx,df/dy) in it and the other has (df/dy, -df/dx) in it.
(At then end you will see I got a minus sign wrong so i chose the wrong rotation i guess.)
Anyway, if you have a theorem (greens or stokes) that says to compute the tangential component of (A,B) around a path, you just integrate the curl of Adx +Bdy, i.e.
(dB/dx - dA/dy) over the interior then if I want to calculate instead the normal component of (A,B) over the path, I just make a new vector field whose tangential component equals the other ones normal component.
I.e. the outward normal component of (A,B) is just (A,B) dotted with an outward pointing vector to the path, i.e. with (-dy/dt,dx/dt). [here's my mistake, this is an inward pointing vector but i will not bother to correct it.]
So I want to integrate (-Ady/dt + Bdx/dt). For that to be a tangential component, I use instead the vector field (B,-A). So the normal component of (A,B) integrated over the path, equals the tangential component of (B,-A) integrated over the path, which by greens thm equals the double integral of -dA/dx -dB/dy integrated over the interior, which seems to be the "convergence" of (A,B) rather than the divergence.
Well I fell prey to the hardest thing in mathematics, namely geting the signs right, but i think you can see these theorems are equivalent in 2 dimensions because we can rotate there.
(In fact the first person to publish these theorems, Maxwell, in his famous book on Electricity and Magnetism, used the opposite sign, as I did, and stated it in terms of "convergence". So at least I am in good company, although Maxwell meant to do this and i didn't. He got minus because instead of vectors he used quaternions, where minuses come in naturally when you square the basic quaternions i,j,k.)
Does this help explain the mystery?