add assertion message
git status message depends on git version