In some circumstances, the cmake build will do a git submodule add https://github.com/pybind/pybind11 in the src/python folder. (See src/python/CMakeLists.txt)
I would expect the cmake build to normally only change files in the build folder (and not to stage changes in git).