Made it simplier to check status

Also fixes issue with different message formatting (with brackets or not)
(works only with git 1.7+)