Update origin if necessary before checking revision
Merge pull request #56 from raphink/git_update_origin

Update origin if necessary before checking revision

This looks good. Thanks!