It’s been a while that whenever I want to review new changes in a branch (remote/local) I am doing a
checkout to that branch, but recently I came across
rebase command which seems to be created for such purposes, I am wondering about the difference between these two approaches. Can someone explain it Eli5?
git checkout <branch_name> git rebase <branch_name>