I recently had to move to a new laptop. As part of that process, I copied all of my Visual Studio projects (hosted on Visual Studio Team Services, previously VS Online (VSO), using git as the version control) to a large hard drive so that I wouldn't have to individually clone each one from Team Services.
When I added one of the projects to SourceTree as a working copy, SourceTree sees all of the files as changed, and some of them as needing to be added. It seems to only see the master branch, whereas I was on the develop branch on the old machine. I get a similar result in Git UI.
Trying to do a fetch fails with
error: inflate: data stream error (unknown compression method) error: unable to unpack 7ec327f34038debcc33b63a865c98405aaa49f7b header fatal: SHA1 COLLISION FOUND WITH 7ec327f34038debcc33b63a865c98405aaa49f7b ! fatal: index-pack failed
I have a fair number of repos, and it would be nice if I didn't have to download each one from Team Services and could just use the copied files. But I don't know what I need to do to get git to "see" these repos correctly.