git-symbolic-ref (1) Linux Manual Page
NAME git-symbolic-ref – Read, modify and delete symbolic refs SYNOPSIS git symbolic – ref[-m<reason>]<name><ref> git symbolic – ref[-q][–short]<name> git symbolic – ref– delete[-q]<name> DESCRIPTION Given one argument, reads which branch head the given symbolic ref refers to and outputs its path, relative to the .git/ directory. Typically you would give HEAD as the <name> argument…
