plugins/git: cache ignored status for files

Merged Christian Hergert requested to merge wip/chergert/accelerate-git-ignore into main

We will likely need to purge the cache a bit more often (such as when .gitignore files change), but this reduces how much we need to query the repository across the IPC channel for that.

Merge request reports