As pointed out in anotherthe other answer, you are getting Git checkouts due to the "preferred-install": "source"
in your composer.jsonthe composer.json file. You could remove that (or replace the "source" value with "dist", although presumably you have that there for a reason).
To solve this problem, there is a module calledthe Composer Deploy module, that will augmentwhich augments Drupal's internal version information with information from composer's metadata. If you want to install both from source and you want version information, this is the way to do it.