How do I get git to default to ssh and not https for new repositories

These days when I create a new repository on GitHub on the setup page I get: git remote add origin https://github.com/nikhilbhardwaj/abc.git git push -u origin master And whenever I have to push a