title: Move branch pointer to different commit without checkout
body: <p>To move the branch pointer of a checked out branch, one can use the <code>git reset --hard</code> command. But how to move the branch pointer of a not-checked out branch to point at a different commit (keeping all other stuff like tracked remote branch)?</p>