← Back to categories

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.

setupinitializationremotepushnew project

Create and Sync a Feature Branch

Branch from the latest main, work locally, and publish the branch for review.

branchingfeatureworkflowcheckoutpush

Merge a Feature Branch Back to Main

Fast-forward or rebase-merge changes safely after review is complete.

branchingmergingrebaseworkflowpull request

Spin Up a Git Worktree for an Emergency Hotfix

Keep your feature branch intact while patching production in a separate working tree.

worktreehotfixemergencyworkflowparallel development

Review a Pull Request in a Separate Worktree

Check out a PR branch for code review without leaving your current feature work.

worktreepull requestcode reviewworkflowparallel development

Run Tests in Parallel Using a Worktree

Execute long-running test suites or builds in one worktree while continuing development in another.

worktreetestingbuildworkflowparallel development

Compare Branches Side by Side with Worktrees

Debug differences or run benchmarks by having multiple branches checked out simultaneously.

worktreedebuggingcomparisonbenchmarkingparallel development

Audit a Release or Tag in a Worktree

Inspect a specific tagged release without disturbing your current working directory.

worktreereleasetagauditdetached HEAD

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.

branchingsearchswitchnavigationfind

Push Local Changes to GitHub

Stage your work, commit with a clear message, and push to remote repository.

pushcommitstagingremoteworkflow

Stash Work-in-Progress and Restore It Later

Save WIP changes to the stash, inspect the stack, and reapply when ready.

stashwipsaveworkflowtemporary

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.

taggingversioningreleaseremotepush
No scenarios match the selected tag.