It should be done lazily and async. I would move it to plugininterfaces project - it is related to GitModule in no way.