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

Source: https://gist.github.com/dmitshur/6927554