# Make Git for Windows Faster ## Metadata **Status**:: #x **Zettel**:: #zettel/fleeting **Created**:: [[2025-06-24]] **Topic**:: [[♯ Windows]], [[♯ Git]] ## Synopsis Enable `core.preloadIndex` and `gc.auto` by default. ```shell git config --global core.preloadIndex true git config --global gc.auto 256 ``` Start `fsmonitor` and enable `untracedCache` in selected repositories: ```shell git config core.fsmonitor true git config core.untrackedCache true ``` Currently, `fsmonitor` only supports Windows and macOS. In repo which workspace in network drive such as Dropbox, enable `ignoreStat` ```sh git config core.ignoreStat true ``` **Attention**, once `ignoreStat` is enabled, git will not trace changes to staged file. Use `git update-index` to refresh the file status: ```sh # manual refresh git update-index --really-refresh # update assumed change flag manually git update-index --no-assume-unchanged foo.c git update-index --assume-unchanged foo.c ``` Someone says setting HOME environment variable may help.