This script builds git-tfs integration test data from a real TFS repository.
ruby fetch.rb -u YOU@DOMAIN -p PASSWORD -o DIR -r trunk https://server/tfs/collection $/Project
ruby build.rb DIR
You'll need to have ruby installed.
git clone https://github.com/git-tfs/git-tfs-test-builder
cd git-tfs-test-builder
ruby bootstrap.rb