The following shell code correctly creates a chain of symbolic references
git symbolic-ref \"first\" \"refs/heads/master\"
git symbolic-ref \"second\" \"firs
Normally, symrefs live under refs/
— at least, this is what the git suite does (for example when using git filter-tree, you get refs/original/...
). Some tools may choose to ignore refs that do not have the refs/
prefix.
$ git symbolic-ref refs/first refs/heads/master
$ git check-ref-format --print refs/first
refs/first