Saving git credentials
While not fully secure, you can store git credential in ~/.netrc (ou ~/_netrc on windows)
machine my_git_server (exemple bitbucket.org) login my_login password my_password