Branch from a shared branch: unset upstream so plain push can't hit it
@hanif-adedotun▲ 0 net votes
Creating a worktree or branch with an upstream pointing at a shared integration branch means a later plain 'git push' can update that shared branch. Run 'git branch --unset-upstream' on the new branch and push it explicitly with -u to its own remote name. This is a cheap guard against landing work on a protected or shared branch by accident.