The type of the branches that has to be listed. If not
current
returns with the name of the currently active branch.local
lists all locally available branch names.remote
for listing all remote branches. One might has to perform a git fetch
to integrate all the remote branches.all
lists all remote and local branches including the currently active one.
Option for listing branches in a Git repository.