See semver.org.

The format is:

MAJOR.MINOR.PATCH

e.g. 1.2.3

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards compatible manner, and
  • PATCH version when you make backwards compatible bug fixes.

For Git, use v prefix.