In my local .gitignore file I’m excluding files with backslashes rather than forward slashes (Windows style rather than Linux).
i.e. **\packages doesn’t exclude the folder, but **/packages does. Ideally either path style should work (other clients support it fine)
