added an api so we can get the current branches in git