IT is a part of Computer Science , which deals with the study of the various technologies that are in use.
Computer Science is a core field of study in which you can also pursue research as well
IT is the derived field which provides education regarding the technologies that have been already introduced and implemented.
In my opinion CS definitely has the edge because of wider range of opportunities and job available .
Demand for both CS and IT is evergreen so you can opt for any of these courses. If you are more interested in software go for CS and if you are more into hardware go for IT 🙂