fix detecting dirty / uncommited state in prompt
improve git summary month calculations