Gitignore gets ignored

I have trouble checking out branches in Git with Katalon, i’m being told that there are uncommited changes in the bin folder. But the bin folder is listed in the gitignore file and should not show up in a list of possible changes. Is this a bug?