Use git
for detecting a dirty worktree.
#1319
Merged
git
for detecting a dirty worktree.
#1319