============================================= Transition to a Compiler: Create a Git Branch [TOC] ============================================= We are done with the calculator. But maybe you want to keep it. In this case create a new branch, e.g. _calc_ with ---- CODE (type=txt) ----------------------------------------------------------- git branch calc -------------------------------------------------------------------------------- and push it to your remote repository with ---- CODE (type=txt) ----------------------------------------------------------- git push origin calc -------------------------------------------------------------------------------- The _master_ branch will become the ABC compiler. With ---- CODE (type=txt) ----------------------------------------------------------- git checkout -------------------------------------------------------------------------------- you can switch to a branch. That means with _git checkout master_ you switch to the compiler brnach, and with git checkout calc_ to the calculator branch. With ---- CODE (type=txt) ----------------------------------------------------------- git branch -a -------------------------------------------------------------------------------- you get a list with all local and remote branches.