Upgrade 2.7.4 to 2.8.1

Hi,

I try to upgrade my 2.7.4 NON Docker instance to 2.8.1. When I do:

git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)

It complains that the following files have local changes:

app/lib/activitypub/activity/announce.rb
config/webpacker.yml

and then i aborts checkout. How to fix this?

TIA