Fix refs commit log and web hook.
Ignore .settings directory.
Fix pattern match for webhook.