Prints the current git_protocol value, either ssh or https. Config lookups check host-specific overrides first, then global settings. Useful in scripts that must branch on the transport gh will use.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.