Allow to determine version information from a Git repository
The version command currently works for a hg repository or for a cached
version.txt file provisionned during the deployment.
As the repository has been converted to Git, this changes introduces
support to read Git hash from the .git/HEAD file content.