Fix bug when multiple options were added to the git diff command