Search notes:

git symbolic-ref

Read, modify and delete symbolic refs.
Show ref that $GIT_DIR/HEAD points to
git symbolic-ref HEAD

See also

git commands

Index