This command will discard all changes not staged or staged for commit that have not yet been committed.
git reset --hard