AiTeky Original Interactive Learning & Practice Intermediate
Git and GitHub: merge conflicts, force-push and the commits that vanished
See when two edits merge cleanly and when they conflict, why a normal push refuses to overwrite a teammate's work and a force-push does not, and how branch protection stops lost commits.
Git makes teamwork on code possible, and it has two moments that surprise beginners: a merge conflict, and a force-push that silently deletes a teammate's work. Both are easy to understand with a small model.
This course models merges and pushes with small Python programs you can run in your browser. Python stands in for Git: the lists are not real repositories, but the rules shown are the ones Git follows. Check the Git and GitHub documentation for the exact commands and for branch protection settings. All names are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No Git experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 20 min Free sample 🔒 AiTeky Pass When two edits collide Merge two people's edits to a file line by line, see that changes to different lines combine cleanly, and see exactly when a conflict appears.
- 02 20 min 🔒 AiTeky Pass Push and force-push See why a normal push is refused when a teammate pushed first, what a force-push destroys, and how a safer force with a lease protects their work.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

