Pass gitObject to trigger method.

It\`s wise to pass gitObject to trigger method, because sometimes it\`s good to know commit hash or branch.