index: version check

Checks the latest version from git. Will be checking for out-dated
versions in the next patch.