What is the difference between a
square knot and a granny knot?

cc

Square
Granny

A square knot is made by alternating right-over-left, and then left-over-right.

A granny knot is made by repeating
right-over-left two times.