title: Commit then checkout another branch in git carries old commit?
body: <p>If I am on branch <code>b-one</code> and I run <code>git commit -m "init commit"</code> and then <code>git checkout -b b-two</code>, does the commit carry to the new branch? More generally, are commits branch specific? Or when you commit, are you just committing on your local machine and can access that commit from any branch?</p>