Microsoft Embraces Git in Visual Studio, Team Foundation Service

For the first time, Git support and integration are baked in.

  • Related News: Microsoft Releases New Visual Studio 2012 CTP
  • Microsoft took its strongest step ever toward embracing open-source software (OSS) today when it announced that two of its most important development products -- Visual Studio and Team Foundation Service (TFS) -- will fully support, and integrate with, Git source control.

    Microsoft Technical Fellow Brian Harry made the announcement at the ALM Summit on Wednesday during a keynote presentation. TFS will host Git repositories, and Community Technology Preview (CTP) 2 of Visual Studio 2012 Update 2 -- which Harry also announced during the keynote -- has full Git support, starting with a CTP of a Visual Studio extension (VSIX) plugin.

    That doesn't mean, though, that Microsoft's abandoning the source control in Team Foundation Version Control (TFVC), Harry wrote in a blog entry explaining at length the decision to integrate Git. "Not for a second," he stated. Microsoft instead sees TFVC as its centralized source control system, while Git becomes the supplier for Distributed Version Control Systems (DVCS).

    Harry took pains to point out that this isn't a Redmond version of Git, with all that might imply: "This is not Microsoft Git, it's just Git," he said, adding that "It's just your TFS ... but version control is Git."

    On his blog, Harry explained in detail the reasoning behind choosing Git rather than a competitor, or building it in-house:

    "When we made the decision that we were going to take the DVCS plunge, we looked at many options. Should we build something? Buy something? Adopt OSS? We looked at Git, Mercurial and others. It didn't take long to realize that Git was quickly taking over the DVCS space and, in fact, is virtually synonymous with DVCS. We thought hard about building something. Git hasn't been as friendly for Windows developers as on other platforms. By building on Git, we can take all the time we might spend just "catching up" and spend that effort on something where we can add more distinctive value. Choosing Git just made sense."

    Microsoft's Scott Hanselman was more blunt about the prevalence of Git: "Git isn't just source control either. Git has become effectively FTP for code," he wrote on his blog.

    Microsoft has made overtures to the open source community for years, along with numerous code contributions. Despite that, many developers still view the company with suspicion. Much of the animosity stems from the fact that Microsoft has charged often in the past that open source software has violated its patents, including a famous case from 2007 claiming that Linux and other open source software infringe on 235 Microsoft patents.

    The ice that once characterized that relationship has been slowly thawing, however. And today's announcements are likely to melt even more of the animosity between Microsoft and the OSS community. As Harry wrote:

    "...this is a pretty big milestone for us. This is certainly the first time that my team has engaged so deeply in an existing OSS project. Our Git implementation is based on LibGit2 and related projects. We started contributing to LibGit2 a few months ago and have been very active."

    There are two versions of TFS: Team Foundation Services, and Team Foundation Server. Team Foundation Services, the cloud-enabled version of Team Foundation Server, has immediate support for hosting Git repositories. Team Foundation Server, the on-premises product, doesn't yet have Git capabilities, but Harry said that it's coming: "Our plan is to include Git support in the next major release of TFS. No date has yet been announced."

    About the Author

    Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

    comments powered by Disqus

    Featured

    • AI for GitHub Collaboration? Maybe Not So Much

      No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

    • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

      As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

    • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

      Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

    • Data Anomaly Detection Using a Neural Autoencoder with C#

      Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

    • What's New for Python, Java in Visual Studio Code

      Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

    Subscribe on YouTube