MATLAB: Every time I push to the remote GitHub repository, I have to re-input the username and password. Is there some way to avoid this by having MATLAB store this information

gitgithubMATLABmypasswordpushremoterepositoryusername

It is convenient to have the Git support in MATLAB, but every time I push to the remote repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB store this information? When I use SourceTree to manage my Git repositories the account info is stored, but then SourceTree is not embedded in MATLAB. I would like to have the best of both.
Related Question