public ArrayList<String> getRemoteBranchNames(){
ArrayList<GitRemoteBranch> remoteBranches = new ArrayList<GitRemoteBranch>(repo.getBranches().getRemoteBranches());
ArrayList<String> branchNameList = new ArrayList<String>();
for(Iterator<GitRemoteBranch> i = remoteBranches.iterator(); i.hasNext(); ) {
GitRemoteBranch branch = i.next();
branchNameList.add(branch.getName());
}
return branchNameList;
}