In 1888 , much as it did throughout Africa and the world , the British government gathered together dozens of different ethnic groups and various kingdoms under its control , naming this new protectorate and commercial venture Uganda .