Ciryl Gane retained the Ultimate Fighting Championship heavyweight championship and handed Josh Hokit his first professional loss with a unanimous decision in the main event of UFC 334 at Madison Square Garden in New York.