Added support for detecting dirty branches in Git. Made options block more understandable.