Overview
The refs resource allows you access branches and tags in a repository. By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running “$ git show-ref”. Note that this follows simple lexical ordering of the ref names.