Git pull with rebase

We can config git pull with rebase instead of merge.

$ git pull --rebase origin master

But as I mention git pull = git fetch + git merge. I would recommend doing a git fetch + git rebase instead of using the git pull.