The choice of a branch clearly depends on you. But, if you are wondering which among both these would be a better choice, then you can undoubtedly go for IT at NIT Kurukshetra.
There are several reasons why-
However, both of these aforementioned branches are completely different and have no personal interlinking. Thus to say, the scope for IT in various government sectors is at present near about zero, while at the same time, there is seen to be a lot of scope in the government sector for the electrical branch.
Otherwise, the salary package that a branch like IT receives is more than Electrical, since the demand for it is currently at a peak.