Git: Introduced very basic deferred object.
Git: Prevent multiple resolves to different states.
Git: Make Deferred thread-safe.