Use git_status_* instead of git_diff_*

The git segment is much faster that way. However, it is still much slower
than the python version. Not sure why yet.