Now updates version.h.repo if we have a valid .git