For newly created /files/, default is -rw-r--r-- or 644. To revert all files recursively to these set of permissions, use

find . -type f -exec chmod 644 {} \;

For newly created /directories/, default is drwxr-xr-x or 755 To revert all directories recursively to these set of permissions, use

find . -type d -exec chmod 755 {} \;