Consider two GDBs which as files such as FC, Table, Shape.
The script should be able to check and compare all the files in both the GDBs and if it finds a file with the same name it should further probe the file.
Assuming that the two gdb has an FC with same name XYZ, the script should now check and list the fields in the feature class.
same should happen with other files.