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 4/24/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


  • 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.'
  • 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.'

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

  • Pick up labels that don't have the branch folder specifically listed (#1125)

    • ignore-not-init-branches value is not longer case sensitive (#1189 by @Laibalion)

    • ignore-not-init-branches now configurable via commandline flag

    • ignore-branches-regex to configure a filter regex to exclude branches during cloning or fetching with branches

    • ignore changesets that the TFS user has no read access to with the --ignore-restricted-changesets option

    • fixed bug in detecting of external repositories from the default repository (#1194 by @Laibalion)

    • Fix critical bug in merge parent changeset lookup (#1195 by @Laibalion)

    • handle "TF14098: Access Denied" exceptions (#1176 by @larsxschneider )

Version History

Version Downloads Last updated Status
GitTfs 0.28.0 2486 Sunday, January 28, 2018 approved
GitTfs 0.27.0 2197 Tuesday, October 10, 2017 approved
GitTfs 0.25.1 6582 Monday, October 3, 2016 approved
GitTfs 0.25.0 2459 Saturday, March 5, 2016 approved
GitTfs 0.24.2 1321 Monday, January 4, 2016 approved
GitTfs 0.24.1 494 Saturday, December 12, 2015 approved
GitTfs 0.24.0 396 Monday, December 7, 2015 approved
GitTfs 0.23.0 1401 Monday, September 21, 2015 approved
GitTfs 0.22.0 861 Wednesday, August 5, 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.