Open git remote alias (macOS) Setup: git config --global alias.open "!git ls-remote --get-url | sed 's/https:\\/\\//git@/' | sed 's/:/\\//g' | sed 's/\\.git//' | sed 's/git@/https:\\/\\//' | xargs open" Usage: git open