git not a valid tag name

Shell
git check-ref-format

Source

Also in Shell: