Folder in trash keeps appearing after trash is emptied.
I have deleted this folder (the folder used to be an old git repo). I then proceeded to empty the trash, but after 30 seconds or so the folder reappears in the trash again. I have tried rebooting, repair the disk in recovery, reinstalling the os, but still this folder refuses to be trashed. Also I attempted to remove it through terminal, and restoring the folder and removing it from the terminal but it keeps reappearing in the Trash.
Note: The folder appears to be empty, it has a .git folder in it, I have tried removing this folder and then removing then the folder but to effect.
Specs:
--------
os: Monterey 12.3.1
chip: M1 Pro
model: 14-inch 2021
MacBook Pro (2020 and later)