Lets go through the second drawing on the link I send you. Let's assume, that the button is not pressed and current is not flowing through the relay coil.
If you study the top part of the drawing, you can see two sets of contact sets. Lets call them 1 and 2. One is connected to + on the "From power supply", the other to -. Both contact sets have two contacts that are labelled N.C. and N.O. This stands for "Normally Closed" and "Normally Opened", meaning that if no power flows through the coil, the middle pin will touch the "Normally closed" pin.
Try to follow the current in the schematics. + from the battery goes to the contact set 1, through the top contact and to the topmost of the "To track" wires. (It could have read "To motor", but the site is about model railroads. This doesn't matter, the principle is the same). The - from the battery goes to the contact set 2, through the top contact and to the bottom of the "To track" wires.
Now, if we supply power to the relay coil, it will switch the two contact sets, so the two "angled" parts of the two contact sets will move to the bottom contact. If you imagine this and follow the power, you will see that + still flows to contact set 1, but since the contact is switched, it will go the the lower contact, labelled N.O. and to the lower of the "to track" wires. Likewise, - still goes to the second contact set, though the lower contact labelled N.O. and to the topmost "to track" wire.
The effect is, that when you supply power to the relay coil, the output "to track" will have + and - reversed.