title: Migrate/Copy existing Local Git Repo. to TFS (Visual Studio)
body: <p>So I have this simple requirement. I have kept a project maintained on local Git Repo. and all my work with History is maintained on there. We also have a Team Foundation Server where multiple projects are setup. I wish to transfer/copy/migrate my Git project <strong>along with all the Git history</strong> to a project I have created on TFS. I will no longer use Git local after this and continue TFS for further development.</p>
  
  <p>A number of solutions are available which is confusing me and I wish to do it through Visual Studio (if possible) that will not mess up the history/tracks I have maintained on Git local.</p>
  
  <p>My VS version:<br>
  <a href="https://i.stack.imgur.com/Eo8AG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Eo8AG.png" alt="VS"></a></p>
  
  <p>Local Git:<br>
  <a href="https://i.stack.imgur.com/yy0Aq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yy0Aq.png" alt="Local-Git"></a></p>
  
  <p>Branches (master):<br>
  <a href="https://i.stack.imgur.com/vhljL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vhljL.png" alt="Branches"></a></p>
  
  <p>History:<br>
  <a href="https://i.stack.imgur.com/r0mRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r0mRh.png" alt="History"></a></p>
  
  <p>TFS:<br>
  <a href="https://i.stack.imgur.com/GkMjK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GkMjK.png" alt="TFS-1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/X20kq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X20kq.png" alt="TFS-2"></a></p>