1) Stage and commit your changes
Add the files you want to include in the commit. You can list specific files or use. to add everything in the working directory:
2) Verify your current branch
Check which branch you are on before pushing changes:Use a branch name that matches your team’s convention. Including a Jira ticket or task ID (like
ABC-123) is common and helps trace the change back to the requirement.3) Dockerfile used in this project
This repository uses a minimal Flask-based Docker image:requirements.txt, copies the project files, and starts Flask listening on all interfaces.
4) Create a pull request on GitHub
After pushing your branch, open the repository on GitHub and refresh the page. GitHub typically shows a prompt to open a pull request for the recently pushed branch. Click “Compare & pull request” (or a similar button), add a descriptive title and summary, assign reviewers, and submit the PR. When ready, reviewers approve and the PR can be merged intomain. In this lesson we merge our PR ourselves.

5) Verify merged changes on the main branch
Once the PR is merged, open the repository main branch to confirm all files are present and your changes are visible in the file list and commit history.
Quick reference: common Git commands
Typical pull request workflow
- Push a feature branch to the remote.
- Open a PR and add a descriptive title and summary.
- Add reviewers and wait for feedback and approvals.
- Address comments (if any) with additional commits.
- Merge the PR after approvals and successful CI checks.
- Pull
mainlocally to sync your environment:git checkout main && git pull origin main.