On import, saves git hash to version file