Does the .git directory save remote passwords or SSH keys?

I have a Git project in the Dropbox public folder, including the directory .git. I have an SSH key stored in TortoiseGit, which I use to commit and click on GitHub. Are they stored elsewhere or are SSH keys and / or passwords stored in a directory .gitthat anyone could potentially access?

+4
source share
1 answer

The ssh keys should not be in the folder .gitat all.

By default, they are in ~/.ssh(or in Widows, where %HOME%).
Or in a TortoiseGit-driven application path.

Git .git.

+6

All Articles