parameters: ()
return_statement: return name
docstring: Returns the name of the current branch
docstring_summary: Returns the name of the current branch
docstring_tokens: Returns the name of the current branch
function: def branch():
      """Returns the name of the current branch"""
      name = __git("rev-parse", "--abbrev-ref", "HEAD")
      name = name.rstrip()
      return name
function_tokens: def branch ( ) : name = __git ( "rev-parse" , "--abbrev-ref" , "HEAD" ) name = name . rstrip ( ) return name