Apart from changing to SSH you can also keep using HTTPS, if you don't mind to put your password in clear text. Put this in your ~/.netrc
and it won't ask for your username/password (at least on Linux):
machine github.com
login <user>
password <password>
Addition (see VonC's 2nd comment): on Windows the file name is %HOME%\_netrc
.
Also read VonC's first comment in case you want to encrypt.
%HOME%\_netrc
(instead of~/.netrc
). See also stackoverflow.com/a/18362082/6309 to encrypt that file. – VonC Nov 21 '13 at 8:30