Should never commit cmake-generated files; the CMakeFiles folder must be removed. Note as a rule you shouldn't build in your source folder.
Also, as explained in the README.rst file for the template_example, the process for making an example from the template_example is to copy the README.template.rst to README.rst, fill it in and commit only the latter. (Personally, I think it would be simpler for the template README.rst to be at the end of the instructions; I will suggest this in an issue on the template_example.)
Should never commit cmake-generated files; the CMakeFiles folder must be removed. Note as a rule you shouldn't build in your source folder. Also, as explained in the README.rst file for the template_example, the process for making an example from the template_example is to copy the README.template.rst to README.rst, fill it in and commit only the latter. (Personally, I think it would be simpler for the template README.rst to be at the end of the instructions; I will suggest this in an issue on the template_example.)