git config --global url."git@github.com:".insteadOf "https://github.com/"

Source

  1. gist.github.com