git branch --force <branch-name> [<new-tip-commit>]

If `new-tip-commit` is omitted, it defaults to the current commit.

`new-tip-commit` can be a branch name (e.g., master, origin/master).