Branches are a crucial part of Git and by extension GitHub.
To create a new branch, simply click the branch option on the app ribbon, choose the create new branch option and name your branch
Using branches is recommended as it prevents mix-ups by editors editing the same file and the commenting system makes collaborating more efficient.
To update your branch from main, click the update from main button, this will automatically add any commits from main to your branch
To make a pull request to merge your branch into main, click the 'Create pull request' option and you will be redirected to GitHub's website, where you can name your request, and write a description.
After creating a pull request you can see it on the website with it's own page
Here you can request reviews from contributors, comment on the changes and merge the branch etc.
The pull request will automatically register any change you commit to your branch, including the addition, deletion and modifications of other files.
To switch between branches, click the branch tab, this will show all the branches in the repository and allow you to switch between them
Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour of fair use. We do not support piracy by any means.