Branch change at IIT Mandi used to be considered easy, but you should not count on it any more. Students in recent discussions say the facility was discontinued for newer batches, with one student noting that their own batch was the last one eligible. Confirm the current academic rules on the official site before building your plan around it.
For the earlier system, students described:
There is a second effect. When branch change closes, students tend to expect higher closing ranks for popular branches like CSE, because people can no longer enter them later.
So choose the branch you actually want at counselling. If you land in electrical and want software, you can still take CS electives and apply for software roles, but that is a deliberate effort, not a guarantee. Ask the admissions office or seniors whether any internal-transfer route exists for your batch.
You will be glad to know that IIT Mandi has a very easy branch change policy. The procedure is simple and many engineering aspirants flock to IIT Mandi with branch change in mind.
The branch change process of IIT Mandi varies every year depending on the batch strength and the CGPA level of students. For a safe call, a CGPA of 9+ will help you secure a branch change.