Jesse Luehrs immediately pointed out on Twitter that this question is answered in the git-describe man page:
The “g” prefix stands for “git” and is
used to allow describing the version of a software depending on the SCM the software is
managed with.