I've tried one command line:
pbcopy < git remote get-url origin
And other way:
output.txt < git remote get-url origin
But I get next message:
-bash: git: No such file or directory
Any ways?
P.S. Git version: 2.13.3, OS Version: macOS High Sierra (Darwin 17).