American multinational technology company, Microsoft, has announced it is to acquire the code-sharing site Github.
Github, based in San Francisco, is an online platform that allows coders to collaborate with each other on their work.
It is used by employees at many big companies, including Microsoft.
Microsoft said it was paying $7.5bn (£5.6bn) in stock to achieve the deal, which is due to be completed before the end of the year. It said Github would continue to operate independently.
“We recognise the community responsibility we take on with this agreement and will do our best work to empower every developer to build, innovate and solve the world’s most pressing challenge,” said Microsoft’s chief executive Satya Nadella in a statement.
It added that Github is currently used by more than 28 million developers, who in turn represent more than 1.5 million organisations across a range of industries.
The business will be led by Nat Friedman, the founder of Xamarin – a mobile software development service acquired by Microsoft in 2016.
Microsoft described Friedman as being an “open source” veteran.
The term refers to the principle that code is made publicly accessible so that others can inspect, modify and share it.