Implement Branch.rename.
Implement Branch.branch_name.
Implement Branch.remote_name.
Implement Branch.upstream getter and setter.
Implement Branch.upstream_name getter.