Before you can distribute any code that isn't yours, you need a licence. If you don't have a licence that says you can redistribute, then you shouldn't. Unusually on this forum, I'm a lawyer aspiring to be a programmer rather than the other way around. But it also means I'm not conversant with the specific licence terms for TFS.
Purely as an aside, my observation is that the mindset of programmers is ideally suited to practicing law. The ability to deconstruct problems and represent solutions in defined chunks is what you need to draft good contracts. I also look at some of the answers given to legal questions on here and they're pretty good. I'm hoping that it works both ways, namely that the mindset of a lawyer will help me pick up the skills I want in programming. So far, I can only conclude that the requirement for experience is just the same.