Commit
e3605bff56e6180d50a818ec06aad181c84fcd9b
which switches the tools to use git version detection gives
fatal: No names found, cannot describe anything.
for me because "git describe" returns
v1.2.0-377-g6f6f0c5
not
desc/X.X.X-XXX-hash
as it does in scummvm, so "git describe --match desc/\*" never matches anything.
Also the comment on line 409 of Makefile.common still says "Subversion" instead of "Git".
Should be fixed with a6f0a48.
Thanks for reporting the bug!