Former GitHub CEO Tom Preston-Werner has resigned from the company following an investigation into claims of harassment.

The investigation by a third party found there had been no legal wrongdoing but determined that “errors of judgment” and “mistakes” had been made, according to a blog post Monday by GitHub co-founder and current CEO Chris Wanstrath.

Wanstrath became CEO in January when Preston-Werner stepped down to pursue research and development at the company.

“With every decision I made at GitHub and in every interaction I had with employees, I tried to treat people better than they expected and to resolve conflict with empathy,” he wrote. “Despite that, I’ve made mistakes, and I am deeply sorry to anyone who was hurt by those mistakes.”

“That said,” he added, “I want to be very clear about one thing: neither my wife, Theresa, nor I have ever engaged in gender-based harassment or discrimination.”

He said he and his wife are “prepared to fight any further false claims ... to the full extent of the law.”

Founded in 2008, GitHub provides a hosted environment for storing and maintaining software projects. The company has about 240 employees and hosts more than 11.3 million projects from about 5.4 million users.

GitHub’s investigation “found no evidence to support the claims against Tom and his wife of sexual or gender-based harassment or retaliation, or of a sexist or hostile work environment,” Wanstrath wrote.

In a series of caustic Twitter messages Monday, Horvath expressed severe dissatisfaction with the investigation.

In one message, she stated she met a mediator from the company who seemed to be most concerned with relieving GitHub “of any legal responsibility.”

GitHub is not the only Web-focused organization with executive ranks recently roiled by controversy. Earlier this month, new Mozilla CEO Brendan Eich stepped down after only two weeks in the post, due to protest sparked by his support of California’s 2008 ban on same-sex marriage.

To comment on this article and other PCWorld content, visit our Facebook page or our Twitter feed.