Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 7/21/2019.

git-tfs is a two-way bridge between a TFS server and a local git repository, similar to git-svn. It fetches TFS changesets into a git repository, and lets you push your updates back to TFS. It could also be used to migrate from TFVC to a git repository.

To install GitTfs, run the following command from the command line or from PowerShell:

C:\> choco install gittfs

To upgrade GitTfs, run the following command from the command line or from PowerShell:

C:\> choco upgrade gittfs


  • chocolateyInstall.ps1 Show
    $sysDrive = $env:SystemDrive
    $gittfsPath = "$sysDrive\tools\gittfs"
    if(test-path $gittfsPath) {
    	write-host "Cleaning out the contents of $gittfsPath"
    	Remove-Item "$($gittfsPath)\*" -recurse -force
    Install-ChocolateyZipPackage 'gittfs' '' $gittfsPath
    Install-ChocolateyPath $gittfsPath
    write-host 'git-tfs has been installed. Call `git tfs` from the command line to see options. You may need to close and reopen the command shell.'
  • chocolateyUninstall.ps1 Show
    $sysDrive = $env:SystemDrive
    $gittfsPath = "$sysDrive\tools\gittfs"
    if(test-path $gittfsPath) {
    	write-host "Cleaning out the contents of $gittfsPath"
    	Remove-Item "$($gittfsPath)\*" -recurse -force
    write-host 'git-tfs has been uninstalled.'

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


    • git (≥ 2.5.0)

Package Maintainer(s)

Software Author(s)

  • Matt Burke


Release Notes

Important: this version of git-tfs no more support checkin policies for TFS2012 and TFS2013. If you still need it, please use v0.29

  • When cloning a whole TFS Project Collection ($/) without specifying a local repository name, clone into "tfs-collection" instead of erroring with "Invalid Path". (#1202 by @0x53A)
  • FindMergeChangesetParent now also takes into account the path of the changes. This should avoid detection of incorrect parent when a changeset has merges in different branches at once. (#1204 by @Laibalion)
  • Provide way to delete all remotes in a single call (#1204 by @Laibalion)
  • Add .net462 and windows10 long path support. See doc to enable it. (#1221 by @pmiossec)
  • Fix bug where checkin attempts to remove a non-empty directory. (#1249 by @m-akinc)
  • Line endings are now properly normalized when pushing changes to TFS if core.autocrlf is set to true (#1210 by @JeffCyr)
  • Fix merge commits connecting to wrong parent (#1264 by DotNetSparky)
  • Now possible to clone a deleted branch (#1263 by magol)
  • Fix a issue that commits in a branch are lost if they are older then the first commit in a branch that are merging from this branch. (#1263 by magol)
  • added new parameter --no-parallel to fix #1242

Version History

Version Downloads Last updated Status
GitTfs 0.29.0 6862 Tuesday, May 29, 2018 approved
GitTfs 0.28.0 2512 Sunday, January 28, 2018 approved
GitTfs 0.27.0 2220 Tuesday, October 10, 2017 approved
GitTfs 0.25.1 6602 Monday, October 3, 2016 approved
GitTfs 0.25.0 2483 Saturday, March 5, 2016 approved
GitTfs 0.24.2 1338 Monday, January 4, 2016 approved
GitTfs 0.24.1 509 Saturday, December 12, 2015 approved
GitTfs 0.24.0 429 Monday, December 7, 2015 approved
GitTfs 0.23.0 1420 Monday, September 21, 2015 approved
Show More

Discussion for the GitTfs Package

Ground rules:

  • This discussion is only about GitTfs and the GitTfs package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or GitTfs, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.