Yes, I needed to revert back to a commit that done around 2 weeks ago. Approximately 5-6 commits behind.
I fixed the merge conflict by going to the specific file it mentioned which is /app/build/posts.html. And on the code line vscodium suggested me to recover multiple lines of code i previously deleted from the html file. I recovered the deleted lines of code and performed a commit and push.
Now the issue is fixed by using git reset --hard commit_hash which is mentioned by another commenter.
Thank you for trying to help.