TFVC to Git Mirroring (No Migration)
I am looking for a mirroring solution for TFVC and Git.
I need to have developers continue using TFVC, but I want TFVC content to be mirrored (real-time preferably) to remote Git repositories.
This is not a migration and I don't want developers to have to use client-side tools for this. This can be a one-way mirroring process (TFVC --> Git).
But for the mirror, you need to sync the content between TFVC and Git, real-time is impossible, however you can try to run scripts in CI (continuous integration) build to get the latest changes from TFVC and transfer them to local Git repository, then commit the changes and push to the remote Git repo.
To do that you need to use the git-tfs tool, it's a bridge tool to be able to import a TFVC history in a git repository. Reference this thread : Use git with git-tfs for backing up TFVC on Visual Studio Team Services. And this article may helps : MIGRATING FROM TFVC TO GIT
You can change From TFVC to Git if possible, then you can sync the contents bewteen two Git repositories more smoothly. Refer to Keep Git repository in sync between VSTS / TFS and Git for details.