The UK tried to define their standard “Received Pronunciation” (RP), and that’s what you’ll find as the “British” pronunciation in dictionaries. There was a backlash, and the BBC no longer uses RP exclusively. In reality, “British” pronunciation varies wildly from one London neighborhood to the next, and accents in other parts of England are more foreign than US or Australian accents. And then there are the other UK countries: Wales, Scotland, Northern Ireland.
Australian accents also vary a lot, but the “target” is again the RP. American accents (including Canadian) are mainly based on that of Southwestern England (from a few hundred years ago), along with influence from Irish English and some other UK accents. American (including Canadian) accents are very harmonious compared to those of the “old world”.
Learn whatever accent you are most likely to come in contact with, or to find out the number of native speakers from different countries, see the Wikipedia article, “List of countries by English-speaking population” for more information.