Git pull error: Your local changes to the following files would be overwritten by me

The following error occurs when using the git pull command
error: Your local changes to the following files would be overwritten by merge:
How to Solve
git stash
git pull
git stash pop

Read More: