Use git sha in cache tags

Use git sha in the git-cache tag so that softwares with version 'master' can use the cache correctly.