refine ensure latest git installed