I create a file foo in the git repository on branch master.
Then, I create a new branch dev, using git checkout -b dev.
On the branch dev, I rename it to bar using git mv foo bar.
After that, I change something in the foo and commit it.
But, when I checkout branch dev and git merge master, git doesn't merge it automatically for me and asks me to merge it myself.
So, is foo the ancestor of bar after I execute git mv? Is there any way to let git merge automatically?