SensibleSideButtons is a menu bar app that lets you use your third-party mouse's side buttons for navigation across all of macOS, including many places where other apps won't let you (such as Xcode). Similar behavior to Windows. The app is free to use and open source.
3 Alternatives to BetterTouchTool
Discover your next favorite thing
Product Hunt surfaces the best new products, every day. It's a place for product-loving enthusiasts to share and geek out about the latest mobile apps, websites, hardware projects, and tech creations.