simplify git imp init and fix it for newly clone repos