apply `-n` to git remote show to skip ls-remote
fix broken verify_repo_clean. chdir to git repo before invoking `git status`