Parse git diff