code: def current_branch(self):
          
          branch_name = git(self.gitdir, self.gitwd, "symbolic-ref", "HEAD")
          return branch_name.replace('refs/heads/', '').strip()
docs: Return the current branch name