Update ERPNext without losing changes

I ran

bench update

I got the following message:

Cannot proceed with update: You have local changes in app “frappe” that are not committed.
Here are your choices:

  1. Merge the frappe app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

This is exactly what I wanted to avoid. How can I solve the issue without removing my customizations ? I am not an expert on GIT.
I also read the documentationson git stash. But I am not sure if I should proceed. And how should I proceed ?

Update:

I found the following steps:

Are these safe to run ?