git restore now runs successfully