The *.cmake line in .gitignore matches files in the repository:
$ find . -name *.cmake
./cmake/check_system_functions.cmake
./cmake/load_doxygen.cmake
./cmake/load_mpi_package.cmake
./cmake/load_package.cmake
./cmake/turn_on_warnings.cmake
When one tries to snapshot magistrate into another repo, the matched files do not get properly added due to the *.cmake in the magistrate .gitignore.