GitHub Flow
Most teams use a simple flow: branch from main, commit, push the branch, open a pull request for review, merge it and delete the branch. Keep pull requests small and write clear descriptions. Shown as commands because it needs a hosted remote.
Example
git switch -c fix-login-bug
# edit files
git add -A
git commit -m "Fix login redirect"
git push -u origin fix-login-bug
# open a pull request on GitHub, get a review, merge
git switch main
git pull
git branch -d fix-login-bugExercise
Ask for review before merging.
git push -u origin fix, then open a request
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.