master Feature B msg: branch1 HEAD $ git checkout branch1 $ git checkout a5d743 You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
a master origin commit1 commit2 commit a master Feature B Feature B Feature A Feature B origin/master merge origin/master Feature A merge origin/master fetch merge origin/master push 6c699cb..04872e1 master -> master