echo "$1" | sed -E -e 's#^(https|git)://##;s/\.git*$//' -e 's#git@(.*):(.*)#\1/\2#'

git remote get-url origin | sed 's|https://github.com/|git@github.com:|;s|.git$||;s|$|.git|'
