Does track gauge vary from country to country?

To avoid being invaded by enemies during wartime, some countries decided to install railway systems
with track gauges that differed from those of their neighbours.
As a result, track gauges vary considerably from one country to the next.

Does track gauge  vary from country to country?