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 5/18/2018.

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 (≥

Package Maintainer(s)

Software Author(s)

  • Matt Burke


Release Notes

* Maintain export flag when resuming a clone for non-trunk branches (#1123)
* Fix out of memory (updating behavior for checkin policies support) (#1118 & #1138)
* Fix on handling non ascii characters in branch name resulting in branch duplication(#752 & #1150)
* Fix Alternative credentials not working (#1122 & #1154)
* Verify that git user config is set on clone and init (#1159 & #1119)
* Fix failing copy of author file when repository still not initialized (#1094 & #1148)
* Add a git-tfs setting (git-tfs.disable-gitignore-support) do disable use of .gitignore by git-tfs to ignore files when fetching (#1121 & #1147)
* Remove support of VS2010/TFS2010 (Checkin policies) (#1166)

Version History

Version Downloads Last updated Status
GitTfs 0.27.0 2079 Tuesday, October 10, 2017 approved
GitTfs 0.25.1 6465 Monday, October 3, 2016 approved
GitTfs 0.25.0 2361 Saturday, March 5, 2016 approved
GitTfs 0.24.2 1230 Monday, January 4, 2016 approved
GitTfs 0.24.1 408 Saturday, December 12, 2015 approved
GitTfs 0.24.0 310 Monday, December 7, 2015 approved
GitTfs 0.23.0 1301 Monday, September 21, 2015 approved
GitTfs 0.22.0 794 Wednesday, August 5, 2015 approved
GitTfs 0.21.2 1024 Monday, June 1, 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.