Ignore folders either by gitignore or file exclusion

HI all.

A few of our sites have rather “robust” folders in them and there is no need to yank them up and down all the time in Local. I thought it would be a simple case of adding a few lines to .gitignore or adding */fat-folder/* in the file exclusion section but neither seem to work.
Am I missing a trick?