git_helper: Removed get_branch method