Hands-on task
Your first branch
The /root/site repository has a main branch, main. A new page has to be built in a separate branch, and main should be left alone for now.
- Create a
contactsbranch and switch to it. - In this branch, create a file
contacts.html(any contents, one line is enough) and commit it.
The main branch must have neither a new commit nor the contacts.html file.
- git branch
- git switch -c
- branches