.gitignore file to monitor only source files Ignores all files expect the php, js, phtml, html, htm and etc can be added. *.* !*.php !*.js !*.phtml !*.html !*.htm