How to understand version numbers

See Find the mbed version which was used before a backup? - #4 by maxgerhardt.

For the ~ etc. modifiers before a version, see semver.