git branch: List, create, or delete branches. git branch lists, creates and deletes branches. git branch shows local branches, git branch feature/export creates one, and git branch -d feature/export deletes it after it has been merged. A branch is a lightweight pointer to a commit, so creating one is instant. That makes it normal to start a new branch for every feature or fix, keeping work in progress separate from the main code.
Keep branches short-lived. A branch that lives for weeks drifts away from main, and merging it back becomes painful. Delete branches after merging, both locally and on the remote, so the list stays readable. git branch -vv shows which remote branch each local branch tracks and whether you are ahead or behind it.
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
'Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.'