Skip to content

Git Manager Recipes

Task-focused Git recipes: connect a remote, work with branches, and recover safely from common mistakes.

Use these recipes when the job is to connect a remote repo, push or pull changes, work with branches, and recover from mistakes safely.

Connect your project to a remote repository (GitHub/GitLab).
Commit changes locally, then push to share or back up.
Use branches to keep features isolated and safe.

Add a remote (e.g. GitHub) so you can push/pull your project.

Add the remote URL once, then reuse it.
Pull before you start work to avoid conflicts.
Push after commits to back up and share changes.

Create branches for features/fixes and merge when ready.

Use short-lived branches for features and fixes.
Merge when changes are tested and ready.
Delete branches when they’re no longer needed.

Use history to inspect past commits and recover files or roll back changes safely.

Inspect a commit to understand what changed.
Restore a file from a previous revision when needed.
Use the Git Manager hub for UI reference and workflows.