StackPractices

Tag: git

Browse 8 practical software engineering resources tagged with "git". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving git. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Version Control with Git

Git is the standard for source control. Effective use requires branching strategies, clean history, code review, and release workflows.

The resources below cover branching, rebasing, commits, tags, hooks, and collaboration. Each recipe helps you use Git without fear.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Node.js OAuth2 GitHub Login with Express

Implement GitHub OAuth2 login flow in Node.js with Express and Passport

Clean Git Commit History with Interactive Rebase

Squash, reorder, edit, and split commits with git rebase interactive. Covers pick, squash, fixup,...

Git Workflow

A practical branching strategy for teams: feature branches, pull requests, and clean commit history.

Set Up Pre-Commit Hooks with husky and lint-staged

Set up production-ready pre-commit hooks with husky, lint-staged and the pre-commit framework....

Setup CI with GitLab Pipelines

How to configure GitLab CI/CD pipelines for testing, building, and deploying applications using...

Git Branching Strategy Document

A document template for defining Git workflow, branching conventions, merge requirements, and...

Pull Request Template

A thorough pull request template to standardize code reviews and improve merge quality.

Git Branching Strategies: A Practical Guide

Compare trunk-based development, GitFlow, and GitHub Flow. Choose the right branching strategy for...