GH-CONFIG-GET(1) GitHub CLI manual GH-CONFIG-GET(1) NAME gh-config-get - Print the value of a given configuration key SYNOPSIS gh config get [flags] OPTIONS -h, --host Get per-host setting EXIT CODES 0: Successful execution 1: Error 2: Command canceled 4: Authentication required NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. EXAMPLE $ gh config get git_protocol SEE ALSO gh-config(1) Jul 2025 GH-CONFIG-GET(1)