You can view the differences between switch configuration files or a configuration file with the running configuration using the command:
show configuration difference { from-config-file {to-config-file} } {module-name} {detail} {context lines}
When using the save configuration automatic {every minutes {primary | secondary | existing-config | new-config} | never} command this can be especially helpful for comparing what changed between the running (or "startup") configuration and the most recently autosaved configuration.