Add function to display if there is a rebase, merge or bisect going on on the prompt

It is useful to create custom prompts