How can I recover the wp-content file

Hello!
I am making the website with wordpress (bitnami ) and actually I am not good at coding or programming things.
I am just trying to find the way and learn from youtube and googling then just follow the instructions.
then something finally happened now…

so I wanted to edit the plugin but there was permission denied issue.
so I used the follow the command in Terminal
sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/wp-content
sudo comod 664 /opt/bitnami/apps/wordpress/htdocs/wp-content

I don’t know … there was more of things to allow the permission to upload the edited file .
but after that, my website just shows me " No matching template found "
and I used the filezilla to look into the wordpress contents, but there is nothing right now… and I can only see the " No matching template found " in my website.
I cannot reach to the dashboard.

what should I do ?
Can I make it back before I edited ?
I am really frustrated now…
I think it’s totally my fault but I want to make it back…
please help me out !!!