in principle it is technically possible to keep a right git over TFS, but not very convenient
I offer you the following:
1st git over TFS holds (in the same folder where unpacked TFS), through .gitignore banim TFS ovy files(if any) and the reverse is about .git
2nd git is kept in the working directory, and synchronized with the first
1m cases of branch type overTFS
2nd is free to do PUSH and PULL
schema updates after update TFS committing all changes to git
if you upgrade git to do the checkout and committing to TFS (can be automated via hooks)
\r
to be able to push to the active branch of the 1st write repository configuration
[receive]
denycurrentbranch = ignore
\r
something like this, it is possible to keep everything, maybe TFS can hooks, in any case, it is possible to manage using pair of scripts
negative comments to the commits will be lost, though of course you can collect all the comments from the previous sync,git allows this