Create a branch
- Show on which branch are we on
$ git branch
* main
- Create a branch and list the branches again.The
starindicates the current branch.
$ git branch featurex
$ git branch
featurex
* main
- Switch to another branch
$ git checkout featurex
Switched to branch 'featurex'
$ git branch
* featurex
main
Make some changes to app.pl, and commit them to the repository