I got sick of entering my username and password every time I do a git operation. Luckily, git provides handy options for caching passwords. The safer option is probably to just cache the credentials in memory
git config --global credential.helper cache
This would keep the password in memory for 15 minutes. To permanently save the credentials on disk (in plain text format), use
git config --global credential.helper store
PS. I chose the later unsecure lazy option.