Add ref,hash,repo to Version