Git rebase vs merge: differences, scenarios, and team policy

When to merge vs rebase, risks of rewriting shared history, team conventions, and commands — keep history readable without breaking collaboration.