git reset –hard # Revert uncommitted changes in index
git clean -fxd # Remove newly created files that not in index
git reset; git checkout .; git reset --hard HEAD; git clean -fdx;
git fetch --all; git fetch --all --tags; git pull;
git pull --recurse-submodules
use "git restore <file>..." to discard changes in working directory
use "git restore --staged <file>..." to unstage