the plumbing commands refs update-ref update a branch (or other reference) to point to a specific commit sha symbolic-ref update a reference (usually HEAD) to point to another reference (like a branch)