title: Does git rebase update commits in other local branches?
body: <p>I know I can test this experimentally, but having discussion would be nice. If I have a local head on (local branch) master that has diverged from the remote master, I tend to do a <code>git pull --rebase</code> to replay my changes. I believe this works by changing the state of my local branch a little bit. </p>
  
  <p>However, if I have branched from one of the local commits into a new branch experimental (which does not exist on remote), then will the history/commits of experimental be updated by the rebase on the local master branch?</p>
  
  <p>A similar question is when I have two local branches of master and dev, both tracking remotes. There are local commits in both, and I've merged some of the local commits from master into dev. Now I rebase master to be applied on top of the remote -- does this change the commits that I have merged into my local dev branch? Will my local dev branch now include the (previously remote-only) commit history that I now see in my master branch? </p>