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.
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.