create version file from git