Remotes and Pull Requests
A remote is the server copy of the repo (usually origin). Core commands:
git clone <url>— copy the repo locallygit pull— fetch and merge remote changes (fetch+merge)git push— send local commits to the remotegit fetch— fetch changes without merging (for inspection)
A Pull Request (PR / Merge Request) is the formal proposal to merge your branch into main: code gets reviewed, CI tests run, and it merges after approval. Test code deserves review just like product code.
A good PR: small (one purpose), clearly described (what + why + how to verify), with green CI. As a reviewer: phrase questions as curiosity, not accusation ("Could this wait be condition-based?"). As an author: don't take comments personally, respond to each.
📚 Sources and documentation
- git-pushofficialgit-scm.com
- GitHub: Pull requestsofficialdocs.github.com