We're running TeamCity 7.0.4 on Windows 2k8 R2 x64 and having some issues with Git. We run into an issue where git is hanging and eventually timing out. I don't think increasing the timeout would help since it's not doing anything and it shouldn't take 10 minutes. If I look at process explorer, I do see an ssh.exe just hanging around trying to pull that repository. One theory I had is the repo is getting corrupted. The reason is that restarting the web server doesn't even seem to fix it. It just comes up and hangs again. But if I go to the git cache directory and blow it away, it'll do a full clone and continue on for a few days until this happens again.
We do have a few builds based off this repo. They use different branches and therefore don't share a VCS root (we have separate VCS roots for all of our configurations... is there a better way with Git?). But I noticed that TeamCity must be smart enough to only use a single local repo. But is it possible it's trying to update that same directory for each different configuration and corrupting it?