To commit changes to GitHub, follow these steps:
- Open the repository in your browser.
- Navigate to the file you want to change and click on it.
- To edit, click the pencil icon.
- Make your changes, update the file as needed and click 'Commit changes'.
- Scroll down to the 'Commit changes' section. Add your ‘Commit message’ and ‘Extended description’.
- Choose whether to commit directly to the main branch or create a new branch for your changes.
- Click 'Commit changes' to save.
- By following these steps, your commit will be added to the repository on GitHub.