Please do not ask me how this has occurred, for I can only guess and would very probably be wrong.
I have in my local folder a nested copy of my local folder. This nested copy has been recognized by Bitbucket as a submodule (a folder icon that contains a folder), but there is no record of it in a .gitmodules file -- neither on my local server, nor on Bitbucket, nor on my remote server. I even checked my .git/config file -- nothing.
What would be the best way to remove the folder on my local drive, and its empty registered equivalent on the Bitbucket cloud and remote server?
Roddy