Add "--branches", "--tags" and "--remotes" options to git-rev-parse.