The government could technically do that (and worse) if they controlled the browser. China for instance have a few popular browsers (owned by Tencent, Alibaba, Xiaomi, and Qihoo 360) that made it impossible to either view a GitHub repo or perform certain actions, such as starring it. Imagine them rewriting Wikipedia articles to spread propaganda, or modify a download url to point to a cracked version that infect your device with RAT, etc).
I’m not familiar with the browser situation in India, but it’s yet another reason why we should recommend and support Firefox, and why we should avoid software and hardware from authoritarian countries.