A quick tool to generate a link to a file or directory in a remote git repository from the CLI
git clone https://github.com/hmprt/giturl
cp giturl /usr/local/bin
giturl
giturl [file]
> giturl README.md
> https://github.com/hmprt/giturl/blob/master//README.md
Works for github and gitlab