Migrate from tfs to git

First of all download git-tfs from there:


Right click on My Computer -> Properties -> Advanced system settings -> Environment variables -> System variables -> Path

Add ;C:\TfsMigration\GitTfs-0.25.1 to the end of Path variable.

Open Command Prompt as Administrator and exec following commands, don’t forget to change commands with your variables:

git tfs clone http://myserver:8080/tfs/DefaultCollection $/PIK.BOP/Trunk . --branches=all
git remote add origin http://[email protected]/apps/autobop-backend.git

I use -c http.sslVerify=false because I have problems with my server certificate.

git -c http.sslVerify=false push --all origin

If your server configured properly, I recommend you to use previous command without -c http.sslVerify=false:

git push --all origin

Full description about migrating from tfs to git you can found here:


Share your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.