Gallier's Logic Book

There are many textbooks that cover propositional and first-order logic, its syntax, semantics, and proof theory.

This Jean Gallier's book is available online and contains a lot of relevant material. You should not assume that you can quickly read through all of it. The most important sections are:

However, please check the dependencies for chapters.