fix RepositoryBranch -> RepositoryCommit for consistency