Subproject commit appears after dbt deps

I have this strange issue that after running dbt deps this subproject commit appears, and despite adding this location to gitignore, it is not ignored. I have to discard this change, but then must rerun dbt deps again! Any ideas?