In one of those “duh” moments for today… I’ve been wrestling with an oddity in my git repositories with vscode. Sometimes when I open a git repo, it will just suddenly duplicate all of the files in the repo. It seemed to happen most of the time when I was opening a large git repository with vscode. Turns out that iCloud is to blame - something about vscode and iCloud Drive synchronization doesn’t get along. Solution: move your development directory out of ~/Documents or iCloud Drive. All will be well. They didn’t need to be there anyway. Duh.