What governs trademark registration?

Trademarks rights are jurisdictional rights afforded through the process of registering a trademark. These processes, procedures, and rights are governed by trademark laws in each country. There are also international treaties signed by multiple countries with an aim to harmonize trademark laws across jurisdictions. For more info, (link to laws page).