add @TAG_OFFSET@ support in versionformat for git

Mark the commit count since @PARENT_TAG@, if there
is no @PARENT_TAG@, will count since first commit.

Well, previous pull request was closed incorrect by me, so another one is here.
Thanks your advice, I will call it `@SEQUENCE_NUMBER@`