When multiple lightweight tags are applied to the same commit, it chooses the first one. Usually, we prefer to return the "latest" tag (largest version number)
To reproduce:
git tag 1.1.0
git tag 1.2.0
git-semver
it returns 1.1.0, but 1.2.0 is preferred