Reset uncommitted changes to both files and directories.

git reset --hard

Remove untracked files and directories.

git clean -fd