I have the following .gitignore file:

```
bin/*

```

My project has the following structure:

```
myFolder
----bin
-------file
----anotherFolder
----yetAnotherFolder

```

The .gitignore is located in the folder `myFolder`

Why is `file` still being committed?