Git GitHub Branch

Git GitHub Branch

Create a New Branch on GitHub

On GitHub, access the repository and click the “master” branch button.

There a new Branch can be created. Type in a descriptive name, and click Create branch:

github-branch

The branch should now be created and active. By looking at the branch button, you can confirm the branch you are working on.  Now, you can see that “html-skeleton”  is placed instead of “main”?

You can start your work on an existing file in this branch. Click the “index.html” file and start editing:

After the file editing has been finished , you can click the “Preview changes” tab to see the changes you made highlighted:

commit