Settings -> Version Control -> Git -> Automatically exclude ignored directories from the indexing
{max-width: 500px, display: block, margin: 0 auto, border: 5px solid black}
For some reason this wasn’t set to TRUE in my settings,
So could be worth checking your settings for this value as well.