If you have a project linked to a VCS, you can perform all the necessary actions inside WebStorm. We will now go through some of the most-used tasks:
We will be presented with a dialog to select the update strategy. Select Branch Default and Using Stash; click on OK. In this way, WebStorm will use the default command for the applied branch, and use and save the changes in a Git stash.