add getBranch method
add 'getCommits' method to get all commits for remote repo