Photography has been my hobby for a while now, but I often just take pictures of trains and boring stuff like that, and something that I’ve always been fascinated by is photography at large public events, for example protests, demonstrations or ceremonies (the two most prominent examples I can think of in recent times are Israel-Palestine protests or Remembrance parades which happened recently), but I have no clue how to go about it. I would only want to do it for personal interest and not for commercial purposes (if the pictures were published they would be in the public domain).

My question is pretty much how I would go about doing this. Should I wear specific clothing so the police can identify me? Is there any other precautions I need to take? I have no clue.