Site-level preferences are located in TWiki.TWikiPreferences, however this Main.TWikiPreferences prefs topic has override priority and should be used for local customizations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change.
Quick edit of existing preferences (edit the topic text to set new preferences)
Site Specific Site-wide Preferences
Image and URL of the logo of this TWiki installation:
Set WIKILOGOIMG = /pubpublic/TWiki/TWikiLogos/T-logo-140x40-t.gif
Example URL if logo attached to this topic: /pubpublic/Main/TWikiPreferences/my-logo-100x50.png