Microsoft, a website where people can store and share software code, for $7.5 billion.
On Sunday, Bloomberg reported that Microsoft had agreed to acquire GitHub, which was last valued at $2 billion in 2015.
The acquisition comes amid the San Francisco-based company's nearly year-long search for a new CEO, as well as its first profit from its services. Founded in 2008, GitHub hosts 27 million software developers working on 80 million repositories of code.
The deal is expected to help Microsoft by adding programming tools and partner with a company that has become a key way in how Microsoft writes its software.
Business Insider first reported talks between the companies on Friday.
Microsoft declined to comment, and GitHub representatives didn't respond to a request for comment.
Update, June 4 at 7 a.m PT: Adds confirmation that Microsoft is acquiring GitHub.
Security: Stay up-to-date on the latest in breaches, hacks, fixes and all those cybersecurity issues that keep you up at night.
: CNET looks at the tech powering bitcoin -- and soon, too, a myriad services that will change your life.