Removing sub git repo

Hi,

I had a folder inside a git repository, which also was itself a git repository. I was moving one into the other, and unintentionally when committing have that folder name locked from being used. I removed the .git from the sub directory but now I can’t use that folder name to push any files.

This is probably a git issue rather than a gitlab one, but I would appreciate any guidance as to remove the stuck sub repository.

This is what it looks like in the web interface.

Thanks