One of my TeamCity v7.0 build projects relies on using a diff between the current development branch and the master branch to determine what needs to be run. I\'ve written
Try changing the VCS checkout mode to "Always checkout files on agent" as documented here. That should give the build script access to the .git folder.