Probably a repeat, but I can't find an answer.

So I have a `.gitignore` file:

```
transactions.csv
transactions_test.csv
**/test.gnucash*
test
**/test.gnucash.2*

```

And the following directory:

```
LICENSE    test.gnucash                         transactions_test.csv
main.py    test.gnucash.20180615182021.gnucash  transactions_testPUBLIC.csv
README.md  test.gnucash.20180618121545.gnucash  translations.json
test/      transactions.csv

```

However when I run `git ls-tree -r master --name-only` I get:

```
.gitignore
.vscode/settings.json
LICENSE
README.md
main.py
test.gnucash.20180615182021.gnucash
test.gnucash.20180618121545.gnucash
transactions_testPUBLIC.csv
translations.json

```

Even weirder than that, if I run this through a [glob tester](http://www.globtester.com/#p=eJzT0tIvSS0u0UvPK01OLM7QM9ICADfRBeU%3D&r=eJyzScksU0jOSSwutlVSstMPLU4tKtZPyU9P1S9LLarUT8xNrErVyyq20Qeqs7NBVVxaXKSfk5%2BcmKOflJmnX55fjlVVSWpxiV56XmlyYnEGpoLcxJLkDDRVekYGhhaGRkbGhkbGJqRqxeYGm6QiO4g4AFEzUMA%3D&), it works correctly. (see hyperlink)

Any ideas as to what's happening? I'm running Git for Windows on Windows 10.

```
$ git --version
git version 2.17.0.windows.1

```