Consolidate ref-related functionality into git-refs(1)
With Introduce a new command to work with refs (#317 - closed), we have introduced a new git-refs(1) commands. We should start to consolidate ref-related functionality into this command:
# Replaces git-show-ref(1) and git-for-each-ref(1).
$ git refs list
# Replaces `git show-ref --exists`.
$ git refs exist
# Replaces `git show-ref --verify <ref>`.
$ git refs show
# Replaces git-symbolic-ref(1) to show a ref.
$ git refs resolve
# Replaces git-pack-ref(1).
$ git refs pack
# Replaces git-update-ref(1).
$ git refs write
# Replaces git-check-ref-format(1).
$ git refs check-format