git_helper: Added / completed get_branches method