1. Right-click under the project folder -> TortoiseGit -> Settings
2. Click Edit local .git/config
3. Copy the following code to the open file and save it. You don't need to enter the username and password again when you use it next time.
[credential]
helper = store