I have checked out a Git branch: git checkout branch_x. Than I made a branch from a branch: git checkout -b branch_y branch_x. I then work in new branch_y, make some changes, etc, than I want to pull changes that happened in original branch_x just to see what's going on. So while in branch_y I do: 
git pull origin branch_x
But his fails with a message:
error: Your local changes to the following files would be overwritten by merge. Please commit your changes or stash them before you merge. Aborting.
I expected that git pull origin branch_x would have absolutely no effect on my own new branch_y. 
Can I avoid this automatic merge and pull the changes only into branch_x?