In Visual Studio, there is an option for version control. Here is a button that removed all the newly created files along with the modified files to the previous version.
I actually want to know which command to use for this action alternatively in git.
I'm using PhpStorm but did not get any button like this.