Is there a way to override keyboard shortcuts on the Mac


In google sheets, ⌘ ⌥ m is the shortcut for inserting a comment in a cell. In Brave this triggers minimize all windows which seems to be pretty much the equivalent of ⌘-H so it really just gets in the way. Is there a way to customize or override Brave shortcuts or at least let the existing web app have first dibs?