rebuild git cached index