Run following commands to cache credentials
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for ‘https://github.com’:
Password for ‘https://USERNAME@github.com’:
Run following commands to cache credentials
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for ‘https://github.com’:
Password for ‘https://USERNAME@github.com’: