I'd rather see this implemented as `git_branch_set_upstream(branch, NULL)`. Can you make it happen? :)