I'm moving an old TFS repository to git. To do it I took a certain state of TFS repository, let's call it version 3, and committed it as an initial commit to git. It worked fine and I continued working in git adding some more commits to the history.
Now it appears that very old versions in TFS which I considered unimportant also need to be in git history. But I've already made git commits on top of version 3 which I would like to keep + created some working branches.
So I need to take TFS version 1, commit it as an initial state, overwrite local files with TFS version 2, commit. All this happens to a single master branch. And then I would like to make a repository with versions 1 and 2 as a history of master and place there v3 and the next commits done from the repository I initially created, so that the whole history is preserved.
Basically, I need to "insert" several commits to master in the past.
Is it possible?
(I understand that I can move changes manually step by step, but that what I would like to avoid).