Use git_wc_status2_t as return type in order to get rid of lots of extra pointers