GitLab Inc. shares surged in their trading debut Thursday, closing up 35% higher than the DevOps software company’s initial public offering price.