A powerline consists of various segments. A segment contains several informations like current directory, user name or git status.
exit code of the latest command
current directory
git support - branch name
git support - dirty working dir
git support - branch is behind
git support - branch is ahead
git support - branch is diverged