git

git (https://git-scm.com/) is a VCS.

Useful commands

Command Operation
git rev-parse --short HEAD Reveals the current commit hash
git fetch Fetch (but don’t merge) remote changes
git diff --name-status HEAD...origin | grep -P '(/sample\.|\.gitignore|\.xsd|installation/components/.*?/index\.rst$|/appCtx\.config\.|/pom\.xml|\.sql)' Reveals remote-modified config files
git difftool HEAD...origin -y -x "diff -siby --suppress-common-lines -W 250" <file> View remote-modified change
git checkout FETCH_HEAD -- <file> checkout the git fetched file
git merge origin Merge git fetched changes
git clean -dnx | cut -c 14- | grep -v '/$' List of untracked files [1]

Footnotes

[1]Derived from stackoverflow.com