move return-code retriecval to the top of the function

the timer_stop was always succesful, thereby effectively shadowing the
return-code of any previous command.
wrap return-code in brackets to separate it from the git-status
adapt to git 1.8 status output
Merge pull request #6 from kronn/git-1-8-output

Git 1.8 output