Inculde Untracked file
git status -s #show status conciselygit status -u #show untracked, default to all
git status -uall #also shows individual files in untracked directories.
git status -uno #show no untracked filesgit status --porcelain #give the output in an easy-to-parse format for scripts.Advanced
git status -suall -- porcelain #show changed and untracked file in short and easy to parse modegit diff --name-only --relative | xargs ls -1 2>/dev/null | grep '\.rb$' | xargs rubocopCompare currnet branch with the sha that current branch checked out from
git diff HEAD # Before commit
git diff master... # After commit
git diff master.. # This will include changes after the current branch diverge
git diff master... --name-only --relativegit diff --name-only --diff-filter=ACMTUXBgit ls-files --others --exclude-standard
git log --abbrev-commit master..
git diff-tree --no-commit-id --name-only --relative