Rename Repository#iter_branches to Repository#branches
Add integration test for Repository#branches
Migrate Repository#branches unit test