introduce GIT_INDEX_VERSION environment variable