Fixed issue with public_html by adding a gitignore file directly to the folder and removing the public_html section in the top level gitignore