Why do you mislead as "gave to India" when the communication clearly says it's patrolled by both sides with a set schedule so that patrols will never be done at the same time?
So what would you think about a 1997 deal with Britain where British garrison and PLA garrison both remain in HK but are not allowed to meet? That'd be Britain gave HK to China right?
If you don't know what you're talking about, maybe don't be so confident. Can you even find the two areas I pointed out which China gave back to India on google maps? The whole area is mountains and valleys, you can't just patrol anywhere you want. Take a look at where China built its outposts, they are at literal choke points, which makes sense since why would China build outposts at random nonstrategic locations. India can't do their patrol without going through these choke points, that's why they were built in the first place.
You have to learn to read between the lines, know exactly where the Indians want to patrol and understand what Jaishankar's return to pre-2020 means. Yes, if the PLA literally patrolled through the British garrison, then the British effectively gave HK to China.