fix NPE in diff command
make commit conditional, to stop unrequired commits
add comment to include pattern
mask passwords in log output
fix checkout location