git status needs to be the first thing done in build.cmd or the build script thinks the repo is always modified (git status sees the tempfile and thinks it's a modification)