Additionally you could move the git folder to the trash folder. I think it’s usually located at $HOME/.local/share/trash/files/
Moving something to the trash files folder isn’t the correct way to trash it, since the Trash specification requires storing some metadata for each trash item.
You should use eg. trash-cli
instead.
[email protected]