Bash git checkout -b branchName. The -b <branchname makes a new branch and switches you onto it
Add changes by git add . and then commit them with git commit -m "Commit Message"
Push the branch to Github: git push -u origin branchname. branchname can also be main. The -u sets the origin/branchname as the default remote for future git push/git pull.
Merge changes (you can do this easily online or)
git checkout maingit pullgit merge branchnamegit push origin main
Delete the local branch git branch -d branchName
If you didnt' delete on Github online, drop the remote reference: git push origin --delete branchNamegit fetch --prune deletes any local branch that doesn't show online