$ git config credential.helper store $ git push http://example.com/repo.git Username: Password: [several days later] $ git push http://example.com/repo.git [your credentials are used automatically]