[Pygit2] Implement get_current_branch