How to detect user browsers?

Hi everyone!

I have 5 different download links for Firefox, Chrome, Safari, Brave, Edge.
How can I recognize the user browser, show him specific link and redirect user to external website for download?
Thanks!

hi @OlegRij and welcome. Good question, I have find many articles that will give you comprehensive answers. What research you have done on your own so far?

Here is a few links you can read.