fix git gui issue