logoalt Hacker News

paulddraperyesterday at 11:09 PM0 repliesview on HN

Correct.

One is refs/heads/<name> and the other is refs/tags/<name>

Branches are expected to change. When a commit is authored, HEAD (the current branch) updates to that commit.

Tags are expected not to change (though they can).