Question: where are credentials stored in git?
Answer: Save Username and Password in Git Credentials Storage When credentials storage is enabled, the first time you pull or push from the remote Git repository, you will be asked for a username and password, and they will be saved in ~/. git-credentials file.