I think i messed up the whole lesson and i dont know how to revert the changes

So i was almost done with this project, i mispelled a git commit and i had to fix it, i didnt knew how and honestly i dont know what i wrote but i think i messed up the whole thing and now im not even able to connect to the database anymore.
Does anyone knows how can i fix whatever is that i broke that i dont know how to know lol.
This is how the explorer section looks like, and it never showed the .json files and etc in the other courses or before i meesed this one up
image

And this is the error i get in the terminal whenever i try to connect to the database

i really appreciate any help, this is my last project to get this certification which ive been working on for so long mostly because of all the issues this course has.

Try starting postgres service with this command:

sudo service postgresql start