Install Steve Losh zsh prompt or nojhan Liquidprompt to offer a shell with visual clues in the prompt.
The Cloud9 containers are especially nice and minimalist in this aspect.
Information needed
- The name of the branch (mandatory)
 - The type of VCS (facultative)
 - Some indicators when a merge isn't completed (nice to have)
 
Done for Git. Still to do for Mercurial and SVN.