Updated .gitignore.
Changed mysql connection file to be in the secrets directory and changed the link to it in index.php.