Fixed git update check to diff against HEAD.