git clean can't deal with junctions and in case there is a loop it follows them forever (or until stack overflow). https://github.com/git-for-windows/git/issues/5320 To work around this try to delete all junctions in the clean re-try code path. Fixes #108