There are generally many ways to make a file and then load the configuration.
Of course, there is also the simplest method. In the .git/config file under the project, modify
Modify url information
url = https://username:[email protected] and then save it.