git - Manage Credentials Store
You might want to manipulate the git credentials store to avoid having to insert the username and password for every action performed in the remote repository.
The article below describes in detail how to change the time the git client will hold the username/password in memory.