open-git-branch

Open the current git branch on the remote repository in a browser.

#!/usr/bin/env sh
x=$(git config --local remote.origin.url)
y=$(git symbolic-ref --short HEAD)
url="$x/tree/$y"
open "$url"
download open-git-branch