You may not need all the changes to commit and push to the remote repository. There are many cases when you need to reset just the working directory/workspace to have a cleaner space, having the last committed changes, or revert a change from the remote in case you have pushed a wrong commit. In this section, we are going to discuss these two points.