git checkout: Switch branches or restore specific files from history (legacy command with multiple roles). git checkout is an older command with several jobs. It switches branches, creates new ones with -b, and restores files from another commit, as in git checkout HEAD~1 -- config.php. Because one command did such different things, mistakes were easy. A wrong argument could throw away uncommitted changes in a file instead of switching branches.
Since Git 2.23, the work is split between two clearer commands. git switch changes branches, and git restore restores files. git checkout still works and you will see it in countless tutorials and scripts, so it is worth understanding. For daily work, switch and restore say what they do and are harder to misuse.
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.'