Configuring git push/commit to not push/show submodule


When I do a classic update to git using the following commands:

git add --all
git commit -am "COMMENT"
git push origin master

And when I go to check the changes on gitlab web I have the following icon :

Sans titre

It looks like a submodule. On the project I have some files in the bin directory, the folder is empty when I do a git clone

When I try to remove the module doing :

git submodule deinit path/to/bin

I have the following error

No submodule mapping found in .gitmodules for path 'path/to/bin'

How can I disable the submodule for every directory ?