branch: add branch.remote
branch: use libgit2 git_branch_name for .name
branch: add branch.upstream
branch: add branch.upstream=