Git
Everyday source control workflows and collaboration patterns.
Start a Fresh Repository Locally and Push It to GitHub
Create a project folder, initialize Git, craft the first commit, and publish it to a new remote.
Create and Sync a Feature Branch
Branch from the latest main, work locally, and publish the branch for review.
Merge a Feature Branch Back to Main
Fast-forward or rebase-merge changes safely after review is complete.
Spin Up a Git Worktree for an Emergency Hotfix
Keep your feature branch intact while patching production in a separate working tree.
Review a Pull Request in a Separate Worktree
Check out a PR branch for code review without leaving your current feature work.
Run Tests in Parallel Using a Worktree
Execute long-running test suites or builds in one worktree while continuing development in another.
Compare Branches Side by Side with Worktrees
Debug differences or run benchmarks by having multiple branches checked out simultaneously.
Audit a Release or Tag in a Worktree
Inspect a specific tagged release without disturbing your current working directory.
Find and Switch to a Branch by Partial Name
Search across local and remote branches for a pattern like "feat/mu" and jump onto it.
Push Local Changes to GitHub
Stage your work, commit with a clear message, and push to remote repository.
Stash Work-in-Progress and Restore It Later
Save WIP changes to the stash, inspect the stack, and reapply when ready.
Create a Git Tag and Push It to Remote
Mark a specific commit with a version tag and share it with your team via the remote repository.