- When making changes, create and switch to new branch with name relating to the change
git checkout -b <branch_name>
- Finish your changes, and add and commit the file.
- Then git push the new branch to github
git push -u origin <branch_name>
- Then review the new branch, submit a pull request and compare new branch with master, and approve it if no conflicts.
- Then other members can git pull the changes.
This way a working model will be preserved in master.