I would like to read Voevodsky HoTT book.
However, I lack a lot of the basics. I would need a few introductory books first that cover topics like groupoids, fibrations, W -types, Homotopy theory.
Any suggestions for references? (I am looking primary for books)
Please not that the book is written by many authors of equal importance. So more specific: 'The HoTT book written by the participants of the Special Year on Univalent Foundations at Institute for Advanced Study'.
Another way to look at those notions of groupoids and fibrations is that type theory tells you what they are. It does so by telling you what you can do with them.
For example with fibrations, you can transport points in the fibers along paths -- this is exactly the intention of the classical notion of fibrations. It is even more true for weak $\infty$-groupoids.
So instead of reading lots of 'background' material which explains you the classical versions of the terms that are used in the HoTT book, you maiy find it easier and quicker to learn what they are through the explanations that the book provides.
If you don't feel comfortable with the idea of learning what things are by learning what you can do with them, I'd suggest with starting to read about homotopy theory itself. Hatcher's Algebraic Topology is probably a reasonable starting point (which is freely available online).